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

ringReachfunction

The ring system's outer edge in body radii, or 1 for a body with no rings.

Import it

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

Definition

function ringReach(facts: BodyFacts): number

Parameters

NameTypeDescription
factsBodyFacts

A body's facts.

Returns

number

The outer edge of its rings in body radii; 1 when it has no rings.

Examples

import { BODIES, ringReach } from "@johnmorrisdotca/wakusei-planets";

console.log(ringReach(BODIES.saturn).toFixed(2), ringReach(BODIES.mars));
2.33 1

What it prints (run when this page was built)

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