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

SpaceNeighbourtype

A body near the target in space: the distance between their centres, and how far that may be off.

Import it

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

Definition

interface SpaceNeighbour {
    id: BodyId;
    kind: NearestKind;
    distanceKm: number;
    distanceAu: number;
    uncertaintyKm: number;
}

Members

NameTypeDescription
idBodyId
kind"moon" | "star" | "planet" | "dwarf-planet"
distanceKmnumber

The distance between the two centres at the date, kilometres.

distanceAunumber

The same in astronomical units.

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 { nearest, type SpaceNeighbour } from "@johnmorrisdotca/wakusei-planets/nearest";

const next: SpaceNeighbour | undefined = nearest("earth", { by: "space", count: 1, date: Date.UTC(2026, 10, 8) })[0];
console.log(next?.id, Math.round(next?.distanceKm ?? 0));
moon 393763

What it prints (run when this page was built)

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