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

faintGridfunction

How many bands and how many tiles a level has.

Import it

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

Definition

function faintGrid(level: number): { bands: number; columns: number[]; }

Parameters

NameTypeDescription
levelnumber

The level, 0 to 2.

Returns

{ bands: number; columns: number[]; }

The number of bands and the number of tiles in each, band by band from the south pole.

Examples

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

const grid = faintGrid(0);
console.log(grid.columns.length, grid.columns[9]); // 18 bands, 36 tiles in the one on the equator side
18 36

What it prints (run when this page was built)

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