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

footprintKmfunction

The radius of a satellite's footprint along the ground, in kilometres: the Earth's radius times footprintAngle.

Import it

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

Definition

function footprintKm(heightKm: number, elevation?: number): number

Parameters

NameTypeDescription
heightKmnumber

The satellite's height above the ground, in kilometres.

elevation (optional)number

The least elevation, in degrees. 25 when left out.

Returns

number

The radius in kilometres.

Examples

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

console.log(Math.round(footprintKm(550)));
941

What it prints (run when this page was built)

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