Skip to the content

Hoshi Stars星

The stars you can see without a telescope, with names, colours and distances; the 88 constellations with their lines and boundaries; the Messier objects; and seven map projections to draw them on.

Hoshi is the Japanese word 星 for a star. About the name

Contents

Reference · The whole sky on one wide 2:1 map: galactic or equatorial, Mollweide, Hammer or plate carrée, with lines cut cleanly at the seam

AllSkyGridLinetype

One line of the grid of the picture: a meridian (a line of constant longitude) or a parallel (constant latitude) of the picture's own frame.

Import it

import type { AllSkyGridLine } from "@johnmorrisdotca/hoshi-stars/all-sky";

Definition

interface AllSkyGridLine {
    kind: "meridian" | "parallel";
    degrees: number;
    runs: AllSkyPoint[][];
}

Members

NameTypeDescription
kind"meridian" | "parallel"

meridian runs top to bottom, parallel side to side.

degreesnumber

The longitude (0 up to 360) or latitude (-90 to 90) of the line, in the picture's frame: the galactic plane is the parallel at 0.

runsAllSkyPoint[][]

The line as runs of points, cut at the seam.

Examples

import { allSkyGrid, type AllSkyGridLine } from "@johnmorrisdotca/hoshi-stars/all-sky";

const line: AllSkyGridLine = allSkyGrid({ width: 1000 })[0]!;
console.log(line.kind, line.degrees, line.runs.length);
meridian 0 1

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hoshi-stars 0.47.0.