Skip to the content

Chikyu Earth地球

A line-drawn globe of the world's countries that turns at the Earth's own rate, with an optional realistic Earth from space and markers for any place.

Chikyu is the Japanese word 地球 for the Earth. About the name

Contents

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

NameTypeDescription
dayreadonly number[]
nightreadonly number[]
cloudsreadonly number[]
waterreadonly number[]
moonreadonly 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)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/chikyu-earth 0.11.0.