Reference · The realistic Earth's pure parts
Layertype
One of the pictures the realistic Earth and the space view draw with: day, night, clouds, water and moon.
Import it
import type { Layer } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
type Layer = "day" | "night" | "clouds" | "water" | "moon";
Examples
import { TIERS, type Layer } from "@johnmorrisdotca/chikyu-earth/realistic";
const layer: Layer = "clouds";
console.log(TIERS[layer]);[ 1024, 2048 ]What it prints (run when this page was built)