Reference
Pictures of deep-sky objects and where each lies on the sky
import { … } from "@johnmorrisdotca/hoshi-stars/deep-sky/pictures";
8.4 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
deepSkyPicture | function | The widest picture of an object by its designation (M31, m 31, Messier 31, NGC 7000), ignoring case and spacing: the survey picture, which shows the whole object and the sky round it. |
DeepSkyPicture | type | A picture of one deep-sky object. |
deepSkyPictures | function | Every picture the package has: the survey pictures, the Messier objects first in Messier order and then the brighter NGC and IC objects, and then the finer pictures of part of an object. |
deepSkyPicturesOf | function | Every picture of an object, the widest first and the finest last: draw them in that order and each finer one lies over the part of the coarser one it shows better. |
pictureCorners | function | The four corners of a picture on the sky, from the top left round to the bottom left, as the tangent plane about its centre puts them (the way the survey cut it). |
PICTURES_BASE | constant | Where the pictures are served from by default: the demo site of this package. |
PictureSource | type | Where a picture comes from: the survey, how its colours are made, who is credited and the licence it is used under. |
pictureUrl | function | The address of a picture's file: under the demo site by default, or under a folder of your own that holds a copy of the repository's pictures/ (with or without a closing slash). |