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

CoordinateContexttype

Scientific context. Numeric epoch is Unix UTC milliseconds identifying the mean frame's instant; J2000 is JD 2451545.0 TT.

Import it

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

Definition

interface CoordinateContext {
    origin: CoordinateOrigin;
    frame: CoordinateFrame;
    epoch: "J2000" | number;
    corrections: "geometric";
}

Members

NameTypeDescription
originCoordinateOrigin
frameCoordinateFrame
epochnumber | "J2000"
corrections"geometric"

Examples

import type { CoordinateContext } from "@johnmorrisdotca/wakusei-planets/coordinates";
const value: CoordinateContext = { origin: "geocentric", frame: "equatorialJ2000", epoch: "J2000", corrections: "geometric" };
console.log(value);
{
  origin: 'geocentric',
  frame: 'equatorialJ2000',
  epoch: 'J2000',
  corrections: 'geometric'
}

What it prints (run when this page was built)

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