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-body> element

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

Exports

NameKindWhat it is
setThreeLoaderfunctionWhere three.js comes from, if a page wants to hand it over itself (before the first element connects).
TEXTURE_BASEconstantThe default home of the surface pictures: the files of this exact version on jsDelivr.
TEXTURE_FAR_BASEconstantWhere the sharpest surface pictures are: the files of this exact version in the repository, on jsDelivr's GitHub address.
WakuseiBodyclassThe <wakusei-body> custom element: a body of the solar system, drawn in a look.
WakuseiStatetypeWhat the element is doing: line (an SVG), loading (waiting for three.js or a picture), still (a picture of the 3D look, nothing running), live (drawing), lost (the GPU took the context; it comes back by itself) or unavailable (no WebGL: the line drawing is shown).

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