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)

classOfElementsfunction

The class of an orbit straight from the two numbers every element set has, its mean motion (revolutions a day) and its eccentricity; null when they are not an orbit.

Import it

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

Definition

function classOfElements(meanMotion: number, eccentricity: number): OrbitClass | null

Parameters

NameTypeDescription
meanMotionnumber

Revolutions a day, above 0.

eccentricitynumber

0 up to (not including) 1.

Returns

OrbitClass | null

The class, or null.

Examples

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

console.log(classOfElements(15.49, 0.0007), classOfElements(1.0027, 0.0002), classOfElements(0, 0));
leo geo null

What it prints (run when this page was built)

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