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 · The bodies nearest to a body on a date, in the sky or in space, and when two bodies come closest: nearest, within, closestApproach and conjunctions

Distancetype

The distance between two bodies at one instant: their centres, in the Sun's frame, with no light time.

Import it

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

Definition

interface Distance {
    a: BodyId;
    b: BodyId;
    time: number;
    distanceKm: number;
    distanceAu: number;
    uncertaintyKm: number;
}

Members

NameTypeDescription
aBodyId
bBodyId
timenumber

The moment, milliseconds since 1970 (UTC).

distanceKmnumber
distanceAunumber
uncertaintyKmnumber

The accuracy to expect of distanceKm, kilometres: the limits the accuracy tests hold the theories to, combined. An expectation, not a bound.

Examples

import { distance, type Distance } from "@johnmorrisdotca/wakusei-planets/nearest";

const found: Distance = distance("earth", "moon", Date.UTC(2026, 10, 8));
console.log(Math.round(found.distanceKm), "km");
393763 km

What it prints (run when this page was built)

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