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 · /meteors

hourlyRateAtfunction

How many meteors an ideal watcher at a place would count in an hour under a perfect dark sky, whether or not it is dark there: the sporadic background, a little more on the side that faces the Earth's way and a little less on the other, plus each active shower's rate times the sine of its radiant's height (none where the radiant is below the horizon). The lean towards the morning side (from 0.4 to 1.6 times SPORADIC_HOURLY_RATE) is a simple stand-in for the real daily swing.

Import it

import { hourlyRateAt } from "@johnmorrisdotca/chikyu-earth/meteors";

Definition

function hourlyRateAt(sky: MeteorSky, place: GeoPoint | readonly [number, number, number]): number

Parameters

NameTypeDescription
skyMeteorSky

The meteor sky of the moment (meteorSky).

placeGeoPoint | readonly [number, number, number]

The place, or its unit vector (placeVector).

Returns

number

Meteors an hour.

Examples

import { hourlyRateAt, meteorSky, pointBeneath } from "@johnmorrisdotca/chikyu-earth/meteors";

const moment = Date.UTC(2026, 11, 14, 8);
const sky = meteorSky(moment);
// Under the Geminids' radiant the rate is the shower's whole rate and the background on top.
console.log(hourlyRateAt(sky, pointBeneath(sky.showers[0]!.shower.radiant, moment)) > 150);
false

What it prints (run when this page was built)

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