Reference · The realistic Earth's pure parts
LightModetype
How the Earth is lit: sun (the true light, with the night side dark and the city lights on it), lit (always lit, as if by daylight from the camera's side, the day picture and no city lights: the night side is never a black frame)
or boost (the true terminator, with the night side raised so the land and coasts read).
Import it
import type { LightMode } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
type LightMode = "sun" | "lit" | "boost";
Examples
import type { LightMode } from "@johnmorrisdotca/chikyu-earth/realistic";
const modes: LightMode[] = ["sun", "lit", "boost"];
console.log(modes.join(", "));sun, lit, boostWhat it prints (run when this page was built)