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 Earth-orbit catalogue: orbit class, object kind, colours, fleets and the packed file format (no data)

OrbitShapetype

The size and shape of an orbit.

Import it

import type { OrbitShape } from "@johnmorrisdotca/chikyu-earth/catalogue";

Definition

interface OrbitShape {
    semiMajorKm: number;
    periodMinutes: number;
    perigeeKm: number;
    apogeeKm: number;
    eccentricity: number;
}

Members

NameTypeDescription
semiMajorKmnumber

Half the longest width of the ellipse, kilometres from the Earth's centre.

periodMinutesnumber

One revolution, minutes.

perigeeKmnumber

Height of the lowest point above the mean Earth radius (6371 km), kilometres.

apogeeKmnumber

Height of the highest point, kilometres.

eccentricitynumber

Examples

import type { OrbitShape } from "@johnmorrisdotca/chikyu-earth/catalogue";

const show = (shape: OrbitShape): string => `${shape.perigeeKm.toFixed(0)} to ${shape.apogeeKm.toFixed(0)} km`;
console.log(typeof show);
function

What it prints (run when this page was built)

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