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

EquatorialCoordinatestype

Equatorial angles, in degrees (right ascension is never hours).

Import it

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

Definition

interface EquatorialCoordinates extends CoordinateContext, EquatorialAngles {
    frame: "equatorialJ2000" | "equatorialOfDate";
}

Members

NameTypeDescription
frame"equatorialJ2000" | "equatorialOfDate"
originCoordinateOrigin
epochnumber | "J2000"
corrections"geometric"
rightAscensionnumber
declinationnumber

Examples

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