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

HorizontalCoordinatestype

Geometric horizontal direction. Azimuth is clockwise from north; origin remains that of the supplied direction.

Import it

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

Definition

interface HorizontalCoordinates extends HorizontalAngles {
    origin: CoordinateOrigin;
    frame: "horizontal";
    epoch: number;
    corrections: "geometric";
}

Members

NameTypeDescription
originCoordinateOrigin
frame"horizontal"
epochnumber
corrections"geometric"
azimuthnumber
altitudenumber

Examples

import { equatorialToHorizontal, type HorizontalCoordinates } from "@johnmorrisdotca/wakusei-planets/coordinates";
const value: HorizontalCoordinates = equatorialToHorizontal({ origin: "topocentric", frame: "equatorialOfDate", epoch: 0, corrections: "geometric", rightAscension: 0, declination: 0 }, 0, { observer: { latitude: 49, longitude: -123 } });
console.log(value);
{
  origin: 'topocentric',
  frame: 'horizontal',
  epoch: 0,
  corrections: 'geometric',
  altitude: 37.223665976440316,
  azimuth: 150.91815713671042
}

What it prints (run when this page was built)

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