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 faint stars: about 3 million of UCAC4's, to magnitude 12, in sky tiles loaded for the part of the sky you show

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

NameTypeDescription
options (optional)FaintSkyOptions

Where the tiles are, and the fetch to use.

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);

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