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

EclipticCoordinatestype

Ecliptic angles, in degrees, in the named mean ecliptic frame.

Import it

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

Definition

interface EclipticCoordinates extends CoordinateContext {
    frame: "eclipticJ2000" | "eclipticOfDate";
    eclipticLongitude: number;
    eclipticLatitude: number;
}

Members

NameTypeDescription
frame"eclipticJ2000" | "eclipticOfDate"
eclipticLongitudenumber
eclipticLatitudenumber
originCoordinateOrigin
epochnumber | "J2000"
corrections"geometric"

Examples

import { equatorialToEcliptic, type EclipticCoordinates } from "@johnmorrisdotca/wakusei-planets/coordinates";
const value: EclipticCoordinates = equatorialToEcliptic({ origin: "geocentric", frame: "equatorialJ2000", epoch: "J2000", corrections: "geometric", rightAscension: 90, declination: 0 });
console.log(value);
{
  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.