Reference · The realistic Earth's pure parts
AIR_THICKNESS_DEFAULTconstant
How many times its real thickness the air is drawn when a page says nothing: 3. The air is a shell 100 km thick on a globe 12,742 km across, a hair's breadth, and at whole-Earth zoom it comes to a line a pixel or two wide (on a phone, thinner still);
three times is a ring the eye can find, with the same physics and the same colours. 1 is the true thickness. The page's air-thickness attribute chooses.
Import it
import { AIR_THICKNESS_DEFAULT } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
const AIR_THICKNESS_DEFAULT: 3 = 3
Examples
import { AIR_THICKNESS_DEFAULT } from "@johnmorrisdotca/chikyu-earth/realistic";
console.log(AIR_THICKNESS_DEFAULT);3What it prints (run when this page was built)