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

systemfunction

A planet and its moons as the Earth sees them at a time: each moon's place in planet radii, in the viewer's frame (x right, y up, z toward the viewer).

Import it

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

Definition

function system(planet: HostId, time: number): System

Parameters

NameTypeDescription
planetHostId

The planet's name.

timenumber

The instant, in milliseconds since 1970.

Returns

System

The planet's pose and every moon of it, nearest first.

Examples

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

const { moons } = system("jupiter", Date.UTC(2026, 10, 2, 12));
console.log(moons.map((moon) => `${moon.id} ${moon.x.toFixed(1)}`).join(", "));
io -5.0, europa -5.5, ganymede -13.9, callisto -20.0

What it prints (run when this page was built)

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