リファレンス · 今夜見える星 (場所と時刻から、地平線の上にあり、太陽の光・空の明るさ・大気の減光のあとでも見える星を、薄明の種類、高度と方位、見やすさつきで)
SKY_LIMITS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The naked-eye limiting magnitude of each preset, at the zenith with the Sun well down: round figures of our own, each near the naked-eye limits of the Bortle classes it stands for: a city centre (classes 8 to 9), a suburb (6 to 7), a country site (4 to 5) and a dark site (2 to 3).
インポート
import { SKY_LIMITS } from "@johnmorrisdotca/hoshi-stars/tonight";
定義
const SKY_LIMITS: Readonly<Record<"dark" | "city" | "suburb" | "rural", number>> = { city: 4, suburb: 5, rural: 6, dark: 6.5 }
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
dark | number | |
city | number | |
suburb | number | |
rural | number |
例
import { SKY_LIMITS } from "@johnmorrisdotca/hoshi-stars/tonight";
console.log(SKY_LIMITS.city, SKY_LIMITS.dark); // 4 6.54 6.5出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。