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

embedCreditfunction

The credits that travel with a picture of a body: the line and illustrated looks are drawn from numbers, and realistic and painted use the surface maps.

Import it

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

Definition

function embedCredit(options: EmbedOptions): string

Parameters

NameTypeDescription
optionsEmbedOptions

The choices, so only what is used is named.

Returns

string

A short line of credit to put near the picture.

Examples

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

console.log(embedCredit({ body: "mars", look: "painted" }));
Wakusei Planets by John Morris (MIT). Sizes, tilt and rotation: IAU and NASA fact sheets. Surface pictures: NASA, USGS and JPL imagery in the public domain (details in the package's NOTICE.md).

What it prints (run when this page was built)

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