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

PortraitEmbedtype

A scene of the portrait builder to put in a page: the scene as the builder writes it in its address, how wide the picture is, and the look to draw it in if not the scene's own.

Import it

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

Definition

interface PortraitEmbed {
    scene: string;
    width?: number;
}

Members

NameTypeDescription
scenestring

The scene as text (encodeScene).

width (optional)number | undefined

Pixels across; default 720.

Examples

import { portraitCode, type PortraitEmbed } from "@johnmorrisdotca/wakusei-planets";

const options: PortraitEmbed = { scene: "look:painted~jupiter_0_0_0.3_0~io_0_0_0.1_0", width: 640 };
console.log(portraitCode(options, "html").includes("wakusei-portrait"));
true

What it prints (run when this page was built)

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