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

Viewpointtype

Where the sky is seen from: a body's centre ("mars" for the sky of Mars), or a place on the Earth, whose parallax counts (the Moon is up to a degree different from there than from the Earth's centre). The default is the Earth's centre.

Import it

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

Definition

type Viewpoint = BodyId | Observer;

Examples

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

const vancouver: Viewpoint = { latitude: 49.28, longitude: -123.12 };
console.log(nearest("moon", { observer: vancouver, count: 1, date: Date.UTC(2026, 10, 8) })[0]?.id);
venus

What it prints (run when this page was built)

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