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

LineupViewtype

The camera: its centre and the half of the picture's height, in Suns. The picture is 2 * h Suns tall and 2 * h * aspect wide.

Import it

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

Definition

interface LineupView {
    x: number;
    y: number;
    h: number;
}

Members

NameTypeDescription
xnumber
ynumber
hnumber

Examples

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

const view: LineupView = lineupView(placeLineup(lineupBodies(), "row"), 1);
console.log(view.h);
3117.499999999999

What it prints (run when this page was built)

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