本文へ移動

Hoshi Stars星

肉眼で見える星の名前・色・距離、88星座の線と境界、メシエ天体、そしてそれらを描くための7種類の図法を使えます。

「星」(ほし) は、夜空に光って見えるものです。 名前について(英語)

目次

リファレンス · 暗い星 (UCAC4の約300万個、12等まで。見ている空の部分のタイルだけを読み込みます)

FAINT_LEVELS定数

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

The tile levels, brightest first. A star lies in the first level whose faintest it does not pass, so level 0 holds everything to magnitude 10, level 1 the stars from 10 to 11 and level 2 those from 11 to 12. A level's tiles are bands of declination bandDegrees high, each cut into as many tiles along right ascension as keep a tile about as wide as it is tall at the edge of the band nearer the equator.

インポート

import { FAINT_LEVELS } from "@johnmorrisdotca/hoshi-stars/faint";

定義

const FAINT_LEVELS: readonly { readonly faintest: number; readonly bandDegrees: number; }[] = [
    { faintest: 10, bandDegrees: 10 },
    { faintest: 11, bandDegrees: 6 },
    { faintest: 12, bandDegrees: 5 },
]

例

import { FAINT_LEVELS } from "@johnmorrisdotca/hoshi-stars/faint";

console.log(FAINT_LEVELS.map((level) => level.faintest)); // [10, 11, 12]
[ 10, 11, 12 ]

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

ソースを見るGitHub で編集@johnmorrisdotca/hoshi-stars 0.47.0 のソースから作成しました。

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