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)

starByNamefunction

A star by its common name (Sirius) or its designation (α CMa, 9 CMa), ignoring case.

Import it

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

Definition

function starByName(text: string): Star | undefined

Parameters

NameTypeDescription
textstring

The name or designation.

Returns

Star | undefined

The star, or undefined.

Examples

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

console.log(starByName("betelgeuse")?.designation, starByName("α Lyr")?.name);
α Ori Vega

What it prints (run when this page was built)

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