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 · Satellites: orbital elements in, positions out

overheadKmfunction

The slant range from a place to a satellite that is straight overhead, for a test or a page: it is the satellite's height. Positions are kilometres in one frame.

Import it

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

Definition

function overheadKm(heightKm: number): number

Parameters

NameTypeDescription
heightKmnumber

How far above the ground the satellite is.

Returns

number

The distance, which is heightKm.

Examples

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

console.log(overheadKm(420));
420

What it prints (run when this page was built)

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