MeteorSky型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What decides the meteors over the whole Earth at one moment, worked out once: the active showers with the places their radiants
stand over, and the apex. hourlyRateAt reads it for each place, so a caller that asks about many places does the astronomy once.
インポート
import type { MeteorSky } from "@johnmorrisdotca/chikyu-earth/meteors";
定義
interface MeteorSky {
ms: number;
showers: {
shower: MeteorShower;
zhr: number;
overhead: [
number,
number,
number
];
}[];
apex: [
number,
number,
number
];
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
ms | number | |
showers | { shower: MeteorShower; zhr: number; overhead: [number, number, number]; }[] | The active showers, strongest first: the rate then, and the unit vector of the place the radiant is overhead. |
apex | [number, number, number] | The unit vector of the place that faces the Earth's way. |
例
import { meteorSky, type MeteorSky } from "@johnmorrisdotca/chikyu-earth/meteors";
const sky: MeteorSky = meteorSky(Date.UTC(2026, 11, 14, 8));
console.log(sky.showers[0]?.shower.name); // "Geminids"Geminids出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。