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

Featuretype

A thing a line drawing shows on a body's surface, placed by longitude and latitude in degrees (angular sizes in degrees): a circle, an oval, a band of latitude or a line.

Import it

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

Definition

type Feature = {
    kind: "circle";
    lon: number;
    lat: number;
    radius: number;
    fill?: boolean;
} | {
    kind: "oval";
    lon: number;
    lat: number;
    rx: number;
    ry: number;
    fill?: boolean;
} | {
    kind: "band";
    lat: number;
} | {
    kind: "line";
    points: readonly (readonly [
        number,
        number
    ])[];
    close?: boolean;
};

Examples

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

const features: readonly Feature[] = BODIES.jupiter.features ?? [];
console.log(features.length);
12

What it prints (run when this page was built)

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