リファレンス · 距離で見る空 (10・50・100・500・1,000光年より近い星や銀河を層に分けて、距離の帯ごとに色分けします。距離がはっきりしないものは別にし、推測で置くことはしません)
SLIDER_RANGE定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The nearest and farthest limits a free slider reaches, in light-years: from Alpha Centauri's neighbourhood to past the Andromeda Galaxy; beyond the last is all.
インポート
import { SLIDER_RANGE } from "@johnmorrisdotca/hoshi-stars/distance";
定義
const SLIDER_RANGE: readonly [number, number] = Object.freeze([4, 3000000])
例
import { SLIDER_RANGE } from "@johnmorrisdotca/hoshi-stars/distance";
console.log(SLIDER_RANGE[0], SLIDER_RANGE[1]);4 3000000出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。