meteorSky関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The meteor sky of a moment (see MeteorSky).
インポート
import { meteorSky } from "@johnmorrisdotca/chikyu-earth/meteors";
定義
function meteorSky(ms: number): MeteorSky
引数
| 名前 | 型 | 説明 |
|---|---|---|
ms | number | The moment, in milliseconds since the epoch. |
戻り値
MeteorSky
The active showers with their rates and radiant places, and the apex.
例
import { hourlyRateAt, meteorSky } from "@johnmorrisdotca/chikyu-earth/meteors";
const sky = meteorSky(Date.UTC(2026, 7, 13, 2));
console.log(hourlyRateAt(sky, { lon: 139.7, lat: 35.7 }).toFixed(1));64.0出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。