Reference · Where the Sun, Moon and planets are for a date, in two scales, with the camera maths
EARTH_RADIUS_KMconstant
The Earth's equatorial radius in kilometres (IAU), the unit of the scene's distances.
Import it
import { EARTH_RADIUS_KM } from "@johnmorrisdotca/wakusei-planets/space";
Definition
const EARTH_RADIUS_KM: 6378.137 = 6378.137
Examples
import { EARTH_RADIUS_KM } from "@johnmorrisdotca/wakusei-planets/space";
console.log(EARTH_RADIUS_KM);6378.137What it prints (run when this page was built)