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

skyAtfunction

The name of the sky for a Sun altitude.

Import it

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

Definition

function skyAt(sunAltitudeDeg: number): SkyName

Parameters

NameTypeDescription
sunAltitudeDegnumber

The Sun's altitude in degrees: above 0 it is up.

Returns

SkyName

day above -0.833 degrees (sunrise and sunset), then civil, nautical, astronomical and night at -6, -12 and -18.

Examples

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

console.log(skyAt(-8));
nautical

What it prints (run when this page was built)

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