faintSkyfunction
Make the loader for the faint stars. It is starSky with the package's own UCAC4 source (ucac4Source); to add a source of your own, or to see the credits of what is drawn, use starSky from @johnmorrisdotca/hoshi-stars/door.
Import it
import { faintSky } from "@johnmorrisdotca/hoshi-stars/faint";
Definition
function faintSky(options?: FaintSkyOptions): FaintSky
Parameters
| Name | Type | Description |
|---|---|---|
options (optional) | FaintSkyOptions | Where the tiles are, and the |
Returns
FaintSky
The loader.
Examples
import { faintSky } from "@johnmorrisdotca/hoshi-stars/faint";
const sky = faintSky({ baseUrl: "https://cdn.jsdelivr.net/gh/johnmorrisdotca/hoshi-stars/faint-tiles/" });
await sky.load({ rightAscension: 299, declination: 40, radius: 2 }, 12);