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

DistanceRangetype

Where a pair is nearest and farthest over a span.

Import it

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

Definition

interface DistanceRange {
    a: BodyId;
    b: BodyId;
    min: DistanceAt;
    max: DistanceAt;
}

Members

NameTypeDescription
aBodyId
bBodyId
minDistanceAt
maxDistanceAt

Examples

import { distanceRange, type DistanceRange } from "@johnmorrisdotca/wakusei-planets/nearest";

const range: DistanceRange = distanceRange("venus", "earth", { from: Date.UTC(2026, 0, 1), to: Date.UTC(2028, 0, 1) });
console.log(range.min.distanceAu.toFixed(2), range.max.distanceAu.toFixed(2));
0.27 1.73

What it prints (run when this page was built)

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