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

The same, with suncalc 1's conventions (radians, azimuth from south)

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

Exports

NameKindWhat it is
addTimefunctionAdd a time to the ones getTimes gives: when the Sun reaches an altitude in degrees.
getMoonIlluminationfunctionThe Moon's phase, as suncalc 1 gave it.
getMoonPositionfunctionThe Moon's place in the sky, as suncalc 1 gave it: the altitude includes refraction.
getMoonTimesfunctionThe Moon's rise and set over the 24 hours from midnight of the moment's day, in the machine's zone or, with inUTC, in UTC.
getPositionfunctionThe Sun's place in the sky, as suncalc 1 gave it: the altitude has no refraction in it.
getTimesfunctionThe Sun's times for the solar day nearest a moment, as suncalc 1 gave them: every time a Date, invalid when it does not happen.
LegacyMoonIlluminationtypeThe Moon's illumination in suncalc 1's terms: the lit fraction, the phase 0 to 1, and the bright limb's angle in radians, negative while the Moon waxes and positive while it wanes.
LegacyMoonPositiontypeThe Moon in a place's sky: the LegacyPosition, the distance in kilometres and the parallactic angle in radians.
LegacyMoonTimestypeThe Moon's rise and set; alwaysUp or alwaysDown is true when the Moon never rises or sets in the day.
LegacyPositiontypeWhere a body is: the azimuth in radians from south toward west (0 south, a quarter turn west) and the altitude in radians.
LegacySunTimestypeThe Sun's times with every one a Date: an invalid Date (NaN) when the Sun does not reach that height that day.
timesconstantThe times suncalc 1 gives, as [altitude in degrees, morning name, evening name].

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