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 · Pure coordinate conversions

meanObliquityfunction

Mean obliquity in degrees: IAU 1980 (Meeus 22.2), evaluated in TT. Validated for 1800–2050; extrapolates outside it.

Import it

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

Definition

function meanObliquity(when: Date | number): number

Parameters

NameTypeDescription
whennumber | Date

Date or Unix UTC milliseconds.

Returns

number

Mean obliquity in degrees.

Examples

import { meanObliquity } from "@johnmorrisdotca/wakusei-planets/coordinates";
console.log(meanObliquity(new Date("2000-01-01T12:00:00Z")));
23.43929111084662

What it prints (run when this page was built)

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