activeShowers関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The showers active at a moment, strongest first, each with its rate then.
インポート
import { activeShowers } from "@johnmorrisdotca/chikyu-earth/meteors";
定義
function activeShowers(ms: number): { shower: MeteorShower; zhr: number; }[]
引数
| 名前 | 型 | 説明 |
|---|---|---|
ms | number | The moment, in milliseconds since the epoch. |
戻り値
{ shower: MeteorShower; zhr: number; }[]
The active showers and their zenithal hourly rates (see showerRate).
例
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.9出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。