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

LineupPlacetype

A body with its place: the centre in Suns and the radius in Suns.

Import it

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

Definition

interface LineupPlace {
    body: LineupBody;
    x: number;
    y: number;
    r: number;
}

Members

NameTypeDescription
bodyLineupBody
xnumber
ynumber
rnumber

Examples

import { lineupBodies, placeLineup, type LineupPlace } from "@johnmorrisdotca/wakusei-planets";

const second: LineupPlace = placeLineup(lineupBodies({ set: "bright" }), "row")[1]!;
console.log(second.body.id, second.x, second.r);
sirius-a 3.143 1.7144

What it prints (run when this page was built)

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