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

eclipticToEquatorialfunction

Rotate a mean ecliptic direction into the matching mean equatorial frame. No precession between epochs, nutation, aberration or light-time is added.

Import it

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

Definition

function eclipticToEquatorial(value: EclipticCoordinates): EquatorialCoordinates

Parameters

NameTypeDescription
valueEclipticCoordinates

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

Returns

EquatorialCoordinates

Right ascension and declination in the matching mean equatorial frame.

Examples

import { eclipticToEquatorial } from "@johnmorrisdotca/wakusei-planets/coordinates";
console.log(eclipticToEquatorial({ origin: "geocentric", frame: "eclipticJ2000", epoch: "J2000", corrections: "geometric", eclipticLongitude: 90, eclipticLatitude: 0 }));
{
  origin: 'geocentric',
  frame: 'equatorialJ2000',
  epoch: 'J2000',
  corrections: 'geometric',
  rightAscension: 90,
  declination: 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.