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

/chart/element

import { … } from "@johnmorrisdotca/hoshi-stars/chart/element";

222.3 kB minified and gzipped, with everything it imports (measured with esbuild)

Exports

NameKindWhat it is
CHART_TAGconstantThe tag, defined by @johnmorrisdotca/hoshi-stars/chart/define.
ChartMarkerDetailtypeWhat hoshi-marker says: a marker was clicked, tapped, or chosen with Enter or Space while it had the focus.
ChartPicktypeWhat hoshi-pick says: a body of the page's bodies (kind body, id its own, with names), a star (id its HR number, with accuracy: its grade, the distance range and the position resolution), a deep-sky object (M42), a black hole (cygnus-x-1), a figure (id the figure's, with abbreviation for a constellation), or nothing (kind none).
ChartViewDetailtypeWhat hoshi-view says: where the chart looks now, and final once the hand has settled.
HoshiChartElementclassThe sky chart as an element: <hoshi-chart constellation="Ori"></hoshi-chart>.
ViewtypeWhere the chart looks: the projection, the point in the middle (degrees) and the zoom, in the chart's own unit: 1 fits the projection's whole sky in the smaller side, more is closer.

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