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 · Passes: when a satellite crosses the sky over a place

PathPointtype

One sample along a pass: when, where in the sky, and whether the satellite is in sunlight (the track is drawn solid there and dashed in the shadow).

Import it

import type { PathPoint } from "@johnmorrisdotca/chikyu-earth/passes";

Definition

interface PathPoint {
    ms: number;
    azimuth: number;
    altitude: number;
    sunlit: boolean;
}

Members

NameTypeDescription
msnumber
azimuthnumber
altitudenumber
sunlitboolean

Examples

import type { PathPoint } from "@johnmorrisdotca/chikyu-earth/passes";

const lit = (points: readonly PathPoint[]): number => points.filter((point) => point.sunlit).length;
console.log(typeof lit);
function

What it prints (run when this page was built)

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