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 · Constellation lines

CultureFiguretype

One figure of a sky culture, as stars and lines: the stars of the culture's figure that the catalogue holds.

Import it

import type { CultureFigure } from "@johnmorrisdotca/hoshi-stars/lines";

Definition

interface CultureFigure {
    asterism: Asterism;
    stars: Star[];
    segments: Array<[
        Star,
        Star
    ]>;
}

Members

NameTypeDescription
asterismAsterism

The figure: its names, reading, kind and how many of its stars we do not hold (missing: fainter than the catalogue goes, or not numbered in the source).

starsStar[]

The stars the figure uses, each once, in the order the figure first reaches them.

segments[Star, Star][]

The lines to draw, each a pair of stars, no pair twice. Empty where the figure is one star.

Examples

import { figureOf, type CultureFigure } from "@johnmorrisdotca/hoshi-stars/lines";
import { japanese } from "@johnmorrisdotca/hoshi-stars/cultures/japanese";

const subaru: CultureFigure = figureOf("昴", japanese);
console.log(subaru.asterism.names.en, subaru.stars.length, subaru.segments.length);
Subaru 6 5

What it prints (run when this page was built)

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