Reference · The realistic Earth's pure parts
airTopfunction
Where the air's top is, in Earth radii, when it is drawn thickness times its real thickness: 1 plus 100 km times that, over the Earth's 6,371.
Import it
import { airTop } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
function airTop(thickness: number): number
Parameters
| Name | Type | Description |
|---|---|---|
thickness | number | 1 for the true thickness (the top is then |
Returns
number
The radius of the shell's outside, in Earth radii.
Examples
import { airTop } from "@johnmorrisdotca/chikyu-earth/realistic";
console.log(airTop(3).toFixed(4));1.0471What it prints (run when this page was built)