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

Troubleshooting & FAQ

Troubleshooting

What to check when a body does not appear, looks plain or sits still.

Nothing appears

Open the console. A line drawing needs only the element's script. Check that the tag is <wakusei-body> (not wakusei-planets) and that body is one of the names in BODIES.

The shaded look is a plain ball

The body's entry point was not imported. Import @johnmorrisdotca/wakusei-planets/jupiter (or /all) beside the element.

It shows the line drawing when I asked for shaded

The browser gave no WebGL. The element says so with its data-state="unavailable" and keeps the line drawing.

It does not move

By design. A picture is drawn only when something changes. With no turn a portrait turns at 12 degrees a second, and a picture with a date adds that turn to the date's orientation. turn="0" stays still. A reader who prefers reduced motion gets a quarter of the turn.

Two shaded bodies, one is a picture

One WebGL context serves the page. The body in focus is live. Use live="hover" to give it to the one the reader points at.

three.js does not load from a CDN page

Use jsDelivr's /+esm addresses, or an import map for three.

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