Reference · The realistic Earth's pure parts
AIR_TOPconstant
The air's own top, in Earth radii: 100 km of the Earth's 6,371. The element leaves ATMOSPHERE_OUTER of room for it, so it is never cut at the box's edge.
Import it
import { AIR_TOP } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
const AIR_TOP: number = 1 + 100 / 6371
Examples
import { AIR_TOP } from "@johnmorrisdotca/chikyu-earth/realistic";
console.log(((AIR_TOP - 1) * 6371).toFixed(0), "km thick");100 km thickWhat it prints (run when this page was built)