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 realistic Earth's pure parts

airTopfunction

Where the air's top is, in Earth radii, when it is drawn thickness times its real thickness: 1 plus 100 km times that, over the Earth's 6,371.

Import it

import { airTop } from "@johnmorrisdotca/chikyu-earth/realistic";

Definition

function airTop(thickness: number): number

Parameters

NameTypeDescription
thicknessnumber

1 for the true thickness (the top is then AIR_TOP).

Returns

number

The radius of the shell's outside, in Earth radii.

Examples

import { airTop } from "@johnmorrisdotca/chikyu-earth/realistic";
console.log(airTop(3).toFixed(4));
1.0471

What it prints (run when this page was built)

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