activeShowersfunction
The showers active at a moment, strongest first, each with its rate then.
Import it
import { activeShowers } from "@johnmorrisdotca/chikyu-earth/meteors";
Definition
function activeShowers(ms: number): { shower: MeteorShower; zhr: number; }[]
Parameters
| Name | Type | Description |
|---|---|---|
ms | number | The moment, in milliseconds since the epoch. |
Returns
{ shower: MeteorShower; zhr: number; }[]
The active showers and their zenithal hourly rates (see showerRate).
Examples
import { activeShowers } from "@johnmorrisdotca/chikyu-earth/meteors";
for (const { shower, zhr } of activeShowers(Date.UTC(2026, 7, 12))) console.log(shower.name, zhr.toFixed(1));Perseids 80.8
Southern δ-Aquariids 3.7
η-Eridanids 1.6
κ-Cygnids 1.5
α-Capricornids 0.9What it prints (run when this page was built)