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 · Facts, line drawings and positions

lineupTextfunction

The words for a body: its name, radius in Suns with the error, radius in kilometres, the source and (for a star) how the radius was got and what the literature disagrees about.

Import it

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

Definition

function lineupText(body: LineupBody, lang: LineupLang): LineupText

Parameters

NameTypeDescription
bodyLineupBody

A body from lineupBodies.

langLineupLang

en or ja.

Returns

LineupText

The words.

Examples

import { lineupBodies, lineupText } from "@johnmorrisdotca/wakusei-planets";

const antares = lineupBodies().find((body) => body.id === "antares")!;
console.log(lineupText(antares, "ja").radius);
太陽の680倍 (+139 −99)

What it prints (run when this page was built)

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