本文へ移動

Chikyu Earth地球

世界の国の輪郭を線で描いた地球儀です。地球と同じ速さで回ります。宇宙から見たような地球と、好きな場所の目印も使えます。

「地球」(ちきゅう) は、私たちが住む星の名前です。 名前について(英語)

目次

リファレンス · /meteors

hourlyRateAt関数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

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 { hourlyRateAt } from "@johnmorrisdotca/chikyu-earth/meteors";

定義

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

引数

名前型説明
skyMeteorSky

The meteor sky of the moment (meteorSky).

placeGeoPoint | readonly [number, number, number]

The place, or its unit vector (placeVector).

戻り値

number

Meteors an hour.

例

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

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/chikyu-earth 0.51.1 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。