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

figureOffunction

The stick figure of one constellation: the bright stars to join, as pairs. Every star of a pair lies inside the constellation, so a chart can draw one figure without crossing into another.

Import it

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

Definition

function figureOf(text: string): Figure

Parameters

NameTypeDescription
textstring

The constellation, as the IAU abbreviation (Ori) or any other name constellation accepts.

Returns

Figure

The shared, frozen figure.

Examples

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

for (const [a, b] of figureOf("Great Bear").segments) console.log(a.name ?? a.designation, "to", b.name ?? b.designation);
Dubhe to Merak
Merak to Phecda
Phecda to Megrez
Megrez to Alioth
Alioth to Mizar
Mizar to Alkaid
Megrez to Dubhe
Dubhe to 23 UMa
23 UMa to Muscida

What it prints (run when this page was built)

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