Reference · The realistic Earth's pure parts
TIERSconstant
The widths each layer is shipped in (every picture is 2:1, so the height is half).
Import it
import { TIERS } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
const TIERS: Record<Layer, readonly number[]> = {
day: [1024, 2048, 4096],
night: [1024, 2048],
clouds: [1024, 2048],
water: [1024, 2048],
moon: [1024, 2048],
}
Members
| Name | Type | Description |
|---|---|---|
day | readonly number[] | |
night | readonly number[] | |
clouds | readonly number[] | |
water | readonly number[] | |
moon | readonly number[] |
Examples
import { TIERS } from "@johnmorrisdotca/chikyu-earth/realistic";
console.log(TIERS.day);[ 1024, 2048, 4096 ]What it prints (run when this page was built)