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

meanSunAufunction

Mean distance from the Sun, in astronomical units: a planet's semi-major axis at J2000, or a dwarf planet's semi-major axis at the epoch of its elements.

Import it

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

Definition

function meanSunAu(id: HostId): number

Parameters

NameTypeDescription
idHostId

A planet or a dwarf planet.

Returns

number

The semi-major axis in au.

Examples

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

console.log(meanSunAu("earth").toFixed(3));
1.000

What it prints (run when this page was built)

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