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 Milky Way: a brightness map and soft bands to draw

import { … } from "@johnmorrisdotca/hoshi-stars/milky-way";

Exports

NameKindWhat it is
fromGalacticfunctionThe right ascension and declination (J2000) of a point given in galactic coordinates.
GalacticPointtypeA point in galactic coordinates, in degrees.
MilkyWayBandtypeEverywhere the Milky Way is brighter than one level.
milkyWayBandsfunctionThe Milky Way cut at some brightness levels, as ribbons of sky points for drawing soft bands (a polygon per strip, filled with a low opacity so the levels build up).
MilkyWayBandsOptionstypeWhere to cut the bands, and how finely.
milkyWayBrightnessfunctionHow bright the Milky Way is toward a point, as a display value from 0 (dark sky) to 1 (the brightest part of the core, in Sagittarius).
MilkyWayStriptypeA ribbon of the Milky Way at one brightness level: two chains of sky points of the same length, the upper edge and the lower, each pair at the same galactic longitude.
SkyPointtypeA point on the celestial sphere, in degrees.
toGalacticfunctionThe galactic longitude and latitude of a point of the sky (J2000, the IAU's galactic frame).

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