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

equatorialToEclipticfunction

Inverse mean-equator rotation, retaining the same origin and epoch.

Import it

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

Definition

function equatorialToEcliptic(value: EquatorialCoordinates): EclipticCoordinates

Parameters

NameTypeDescription
valueEquatorialCoordinates

Coordinates with explicit origin, frame, epoch and geometric corrections.

Returns

EclipticCoordinates

Ecliptic longitude and latitude in the matching mean ecliptic frame.

Examples

import { equatorialToEcliptic } from "@johnmorrisdotca/wakusei-planets/coordinates";
console.log(equatorialToEcliptic({ origin: "geocentric", frame: "equatorialJ2000", epoch: "J2000", corrections: "geometric", rightAscension: 90, declination: 0 }));
{
  origin: 'geocentric',
  frame: 'eclipticJ2000',
  epoch: 'J2000',
  corrections: 'geometric',
  eclipticLongitude: 90,
  eclipticLatitude: -23.439291111111114
}

What it prints (run when this page was built)

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