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 · The <wakusei-space> element: the Earth, Moon, Sun and planets in their places

SpaceBodytype

One of the bodies in SPACE_BODIES, by the package's usual lower-case name.

Import it

import type { SpaceBody } from "@johnmorrisdotca/wakusei-planets/space/element";

Definition

type SpaceBody = (typeof SPACE_BODIES)[number];

Examples

import { SPACE_BODIES, type SpaceBody } from "@johnmorrisdotca/wakusei-planets/space/element";

const mars: SpaceBody = "mars";
console.log(SPACE_BODIES.includes(mars));

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