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

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, boost

What it prints (run when this page was built)

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