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

Posetype

The way a body is turned toward the viewer, in the viewer's frame (x to the right, y up, z toward the viewer), as unit vectors: its north pole, the direction of longitude 0 and the Sun's direction.

Import it

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

Definition

interface Pose {
    pole: Vec3;
    meridian: Vec3;
    light: Vec3;
}

Members

NameTypeDescription
poleVec3

The north pole.

meridianVec3

The direction of longitude 0 on the equator.

lightVec3

The direction of the Sun, from the body.

Examples

import { portrait, type Pose } from "@johnmorrisdotca/wakusei-planets";

const pose: Pose = portrait("saturn");
console.log(pose.pole.map((n) => n.toFixed(2)).join(", "));
0.42, 0.83, 0.37

What it prints (run when this page was built)

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