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

beamCellsfunction

The spot cells of a footprint: count circles in a hexagonal pack (the middle one, then the nearest to it), drawn to fit inside the footprint, or at most cellKm in radius when that is smaller. It is an illustration of a satellite that serves the ground in cells; it is not the pattern of any operator's beam plan.

Import it

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

Definition

function beamCells(count: number, radiusKm: number, cellKm?: number): BeamCells

Parameters

NameTypeDescription
countnumber

How many cells (0 for none; the most is 91, six rings).

radiusKmnumber

The footprint's radius along the ground, in kilometres.

cellKm (optional)number

A cell's radius in kilometres, when the page wants it smaller than the fit; 0 for the fit.

Returns

BeamCells

The cells.

Examples

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

console.log(beamCells(19, 2200, 0).lattice.length);
19

What it prints (run when this page was built)

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