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 · Where the Sun, Moon and planets are for a date, in two scales, with the camera maths

SpaceFrametype

Where everything is at one moment: positions in astronomical units from the Earth's centre, in J2000 equatorial axes with y north.

Import it

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

Definition

interface SpaceFrame {
    ms: number;
    sun: Vec3;
    moon: Vec3;
    planets: Record<SpacePlanet, Vec3>;
}

Members

NameTypeDescription
msnumber
sunVec3
moonVec3
planetsRecord<"mercury" | "venus" | "mars" | "jupiter" | "saturn" | "uranus" | "neptune" | "pluto", Vec3>

Examples

import { frameAt, type SpaceFrame } from "@johnmorrisdotca/wakusei-planets/space";

const frame: SpaceFrame = frameAt(Date.UTC(2026, 10, 2, 12));
console.log(Object.keys(frame.planets).length);
8

What it prints (run when this page was built)

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