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 Sun and Moon from a place: position, sunrise and sunset, Moon rise, set and phase, with suncalc 2's names and a better engine

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

Exports

NameKindWhat it is
addTimefunctionAdd a time to the ones getTimes gives: when the Sun reaches an altitude in degrees, going up under the morning name and going down under the evening name.
getMoonIlluminationfunctionThe Moon's phase.
getMoonPositionfunctionThe Moon's place in the sky from a place on the Earth.
getMoonTimesfunctionThe Moon's rise, set and transits over a day at a place.
getPositionfunctionThe Sun's place in the sky from a place on the Earth.
getTimesfunctionThe Sun's times for a day at a place.
MoonIlluminationtypeThe Moon's illumination: the lit fraction 0 to 1, the phase 0 to 1 (0 new, 0.25 first quarter, 0.5 full, 0.75 last quarter), the position angle of the bright limb in degrees eastward from north, and whether it is waxing.
MoonPositiontypeThe Moon in a place's sky: the Position, the Moon's distance in kilometres and the parallactic angle in degrees.
MoonTimestypeThe Moon's rise, set and transits over a day.
PositiontypeWhere a body is in a place's sky: the azimuth in degrees clockwise from north (0 north, 90 east, 180 south, 270 west) and the apparent altitude (refraction included) in degrees.
SunTimeNametypeThe names of the Sun's times that getTimes gives.
SunTimestypeThe Sun's times for a day: each a Date or null when the Sun does not reach that height that day, solarNoon and nadir always there, and alwaysUp or alwaysDown when the Sun stays above or below the sunrise height all day.
timesconstantThe altitudes of the Sun's times in degrees: the morning name when it rises through the angle, the evening name when it sets through it.

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