Reference
Map projections for sky charts
import { … } from "@johnmorrisdotca/hoshi-stars/projection";
Exports
| Name | Kind | What it is |
|---|---|---|
MapPoint | type | A point on the chart. |
project | function | Where a point of the sky lands on the chart. |
Projection | type | The kinds of projection. |
ProjectionOptions | type | How to place and size the chart. |
PROJECTIONS | constant | The projections: the five that show a hemisphere or less, then the two that show the whole sky. |
SkyPoint | type | A point on the celestial sphere, in degrees. |
unproject | function | The sky position under a point of the chart: the inverse of project, with the same options. |