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 · Bodies as objects for your own three.js scene

LOOKSconstant

The looks the painter draws: realistic (shaded from the body's real colours and features) and painted (a public-domain surface map, with the shaded look until it arrives).

Import it

import { LOOKS } from "@johnmorrisdotca/wakusei-planets/painter";

Definition

const LOOKS: readonly ["realistic", "painted"] = ["realistic", "painted"] as const

Examples

import { LOOKS, type PainterLook } from "@johnmorrisdotca/wakusei-planets/painter";

const first: PainterLook = LOOKS[0];
console.log(first);

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