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

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

Exports

NameKindWhat it is
CartesianAutypeRight-handed Cartesian components in AU: x at longitude zero, y at 90 degrees, z north.
cartesianToSphericalfunctionConvert Cartesian to spherical.
CoordinateContexttypeScientific context.
CoordinateFrametypeNamed axes.
CoordinateObservertypeEarth observer: degrees north/east; optional metres above the WGS 84 ellipsoid.
CoordinateOrigintypeOrigin is preserved by every rotation; no observer translation is performed.
EclipticCoordinatestypeEcliptic angles, in degrees, in the named mean ecliptic frame.
eclipticToEquatorialfunctionRotate a mean ecliptic direction into the matching mean equatorial frame.
EquatorialCoordinatestypeEquatorial angles, in degrees (right ascension is never hours).
equatorialToEclipticfunctionInverse mean-equator rotation, retaining the same origin and epoch.
equatorialToHorizontalfunctionRotate a mean equatorial-of-date direction to an observer's horizon (Meeus 12.4, 13.5–6).
HorizontalCoordinatestypeGeometric horizontal direction.
meanObliquityfunctionMean obliquity in degrees: IAU 1980 (Meeus 22.2), evaluated in TT.
SphericalAutypeSpherical coordinates: longitude [0,360), latitude [-90,90], radius in AU.
sphericalToCartesianfunctionConvert spherical to Cartesian, preserving origin, frame, epoch and geometric corrections.

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