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

FaintSkyOptionstype

What faintSky takes.

Import it

import type { FaintSkyOptions } from "@johnmorrisdotca/hoshi-stars/faint";

Definition

interface FaintSkyOptions {
    baseUrl?: string;
    fetch?: TileFetch;
    maxTiles?: number;
}

Members

NameTypeDescription
baseUrl (optional)string | undefined

The folder the tiles are in, with a closing slash: FAINT_TILES_URL where left out.

fetch (optional)TileFetch | undefined

The fetch to use: the global one where left out.

maxTiles (optional)number | undefined

How many decoded tiles to keep before the oldest is let go: 256 where left out (about 40 MB at the most).

Examples

import type { FaintSkyOptions } from "@johnmorrisdotca/hoshi-stars/faint";

const options: FaintSkyOptions = { baseUrl: "/faint-tiles/", maxTiles: 128 };
console.log(options.baseUrl);
/faint-tiles/

What it prints (run when this page was built)

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