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

RingBandtype

One band of a ring system, in kilometres from the planet's centre: how much light it stops (alpha, 0 to 1) and how bright it is (tone, 0 dark, 1 bright).

Import it

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

Definition

interface RingBand {
    from: number;
    to: number;
    alpha: number;
    tone: number;
}

Members

NameTypeDescription
fromnumber
tonumber
alphanumber
tonenumber

Examples

import { BODIES, type RingBand } from "@johnmorrisdotca/wakusei-planets";

const bands: readonly RingBand[] = BODIES.saturn.rings ?? [];
console.log(bands.length, bands[2]?.from);
7 91975

What it prints (run when this page was built)

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