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

PainterOptionstype

Where the pictures are, if not on jsDelivr: a folder address that ends in a slash. farBase holds the widest pictures (2048), which the npm package leaves out.

Import it

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

Definition

interface PainterOptions {
    textureBase?: string;
    farBase?: string;
}

Members

NameTypeDescription
textureBase (optional)string | undefined
farBase (optional)string | undefined

Examples

import { createPainter, type PainterOptions } from "@johnmorrisdotca/wakusei-planets/painter";

const options: PainterOptions = { textureBase: "/textures/", farBase: "/textures/" };
console.log(createPainter(options).looks);

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