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 globe as an SVG string

DEGREES_PER_MSconstant

How far the Earth turns in one millisecond, in degrees.

Import it

import { DEGREES_PER_MS } from "@johnmorrisdotca/chikyu-earth";

Definition

const DEGREES_PER_MS: number = 360 / SIDEREAL_DAY_MS

Examples

import { DEGREES_PER_MS } from "@johnmorrisdotca/chikyu-earth";

console.log(DEGREES_PER_MS * 1000, "degrees a second");
0.004178074623790058 degrees a second

What it prints (run when this page was built)

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