本文へ移動

Hoshi Stars星

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

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

目次

リファレンス

天の川 (明るさの地図と、描くための帯)

import { … } from "@johnmorrisdotca/hoshi-stars/milky-way";

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

エクスポート

名前種類概要
fromGalactic関数The right ascension and declination (J2000) of a point given in galactic coordinates.
GalacticPoint型A point in galactic coordinates, in degrees.
MilkyWayBand型Everywhere the Milky Way is brighter than one level.
milkyWayBands関数The Milky Way cut at some brightness levels, as ribbons of sky points for drawing soft bands (a polygon per strip, filled with a low opacity so the levels build up).
MilkyWayBandsOptions型Where to cut the bands, and how finely.
milkyWayBrightness関数How bright the Milky Way is toward a point, as a display value from 0 (dark sky) to 1 (the brightest part of the core, in Sagittarius).
MilkyWayStrip型A ribbon of the Milky Way at one brightness level: two chains of sky points of the same length, the upper edge and the lower, each pair at the same galactic longitude.
SkyPoint型A point on the celestial sphere, in degrees.
toGalactic関数The galactic longitude and latitude of a point of the sky (J2000, the IAU's galactic frame).

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

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