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

BodyFactstype

The facts of one body: its radius, flattening, axial tilt, pole, prime meridian, rotation, colour, rings and the features a line drawing shows.

Import it

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

Definition

interface BodyFacts {
    id: BodyId;
    kind: "star" | "planet" | "dwarf-planet" | "moon";
    parent?: HostId;
    name: {
        en: string;
        ja: string;
    };
    radiusKm: number;
    flattening: number;
    tiltDeg: number;
    pole: {
        ra: number;
        dec: number;
    };
    prime: {
        w0: number;
        rate: number;
    };
    rotationHours: number;
    synchronous?: boolean;
    axesKm?: readonly [
        number,
        number,
        number
    ];
    colour: string;
    showLon?: number;
    rings?: readonly RingBand[];
    features?: readonly Feature[];
}

Members

NameTypeDescription
idBodyId
kind"moon" | "star" | "planet" | "dwarf-planet"
parent (optional)HostId | undefined

The planet or dwarf planet a moon goes round.

name{ en: string; ja: string; }
radiusKmnumber

The equatorial radius in kilometres (a moon's mean radius).

flatteningnumber

(equatorial − polar) / equatorial.

tiltDegnumber

The angle between the spin axis and the orbit's normal, in degrees. Above 90 the spin is backwards.

pole{ ra: number; dec: number; }

The north pole's right ascension and declination, J2000, in degrees (IAU).

prime{ w0: number; rate: number; }

The prime meridian at J2000, in degrees, and how fast it turns, in degrees a day (negative: backwards).

rotationHoursnumber

The sidereal rotation period in hours; negative when it turns backwards.

synchronous (optional)boolean | undefined

A moon that always shows the same face to its planet.

axesKm (optional)readonly [number, number, number] | undefined

The semi-axes in kilometres along the line to the planet, along the orbit and along the pole, for a moon that is far from round.

colourstring

The body's mean colour, #rrggbb.

showLon (optional)number | undefined

The longitude a portrait faces, degrees east: the side with the body's best-known features.

rings (optional)readonly RingBand[] | undefined
features (optional)readonly Feature[] | undefined

Examples

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

const uranus: BodyFacts = BODIES.uranus;
console.log(uranus.tiltDeg, uranus.rotationHours);
97.77 -17.24

What it prints (run when this page was built)

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