Reference · Where the Sun, Moon and planets are for a date, in two scales, with the camera maths
SPACE_PLANETSconstant
The planets the space view places, nearest the Sun first (the Earth is the middle of the view).
Import it
import { SPACE_PLANETS } from "@johnmorrisdotca/wakusei-planets/space";
Definition
const SPACE_PLANETS: readonly ["mercury", "venus", "mars", "jupiter", "saturn", "uranus", "neptune", "pluto"] = ["mercury", "venus", "mars", "jupiter", "saturn", "uranus", "neptune", "pluto"] as const
Examples
import { SPACE_PLANETS } from "@johnmorrisdotca/wakusei-planets/space";
console.log(SPACE_PLANETS.join(", "));mercury, venus, mars, jupiter, saturn, uranus, neptune, plutoWhat it prints (run when this page was built)