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 Sun, Moon and planets: pure parts

PlanetNametype

One of the planets drawn (Pluto too), by name.

Import it

import type { PlanetName } from "@johnmorrisdotca/chikyu-earth/space";

Definition

type PlanetName = (typeof PLANETS)[number];

Examples

import { orbitPath, type PlanetName } from "@johnmorrisdotca/chikyu-earth/space";

const planet: PlanetName = "Mars";
console.log(orbitPath(planet, Date.UTC(2026, 10, 2), 8).length);
9

What it prints (run when this page was built)

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