Skip to the content

Wakusei Planets惑星

The Sun, the planets and their moons as a clean line drawing, a shaded realistic drawing or a painted surface map, with real sizes, tilt and rotation, and the moons where they are at any date and time.

Wakusei is the Japanese word 惑星 for a planet. About the name

Contents

Reference · The 5,080 stars you can see without a telescope: names, positions, proper motion, distance and colour (about 100 kB gzipped)

starsfunction

The stars to a magnitude, brightest first. The catalogue stops at magnitude 6.0, so the default is all 5,080.

Import it

import { stars } from "@johnmorrisdotca/wakusei-planets/stars";

Definition

function stars(options?: { magnitude?: number; }): Star[]

Parameters

NameTypeDescription
options (optional){ magnitude?: number; }

magnitude: the faintest to include (a star of exactly that magnitude is in). Brighter limits give shorter lists: 1.5 is 15 stars, 4 is 518, 5 is 1,630.

Returns

Star[]

A fresh array of the shared, frozen stars.

Examples

import { stars } from "@johnmorrisdotca/wakusei-planets/stars";

console.log(stars().length, stars({ magnitude: 2 }).map((s) => s.name ?? s.designation).slice(0, 3));
5080 [ 'Sirius', 'Canopus', 'Arcturus' ]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/wakusei-planets 0.24.0.