Reference · Where the Sun, Moon and planets are for a date, in two scales, with the camera maths
AU_IN_EARTH_RADIIconstant
Earth radii in one astronomical unit.
Import it
import { AU_IN_EARTH_RADII } from "@johnmorrisdotca/wakusei-planets/space";
Definition
const AU_IN_EARTH_RADII: number = AU_KM / EARTH_RADIUS_KM
Examples
import { AU_IN_EARTH_RADII } from "@johnmorrisdotca/wakusei-planets/space";
console.log(Math.round(AU_IN_EARTH_RADII));23455What it prints (run when this page was built)