本文へ移動

Hoshi Stars星

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

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

目次

リファレンス

ほかの星から見た空 (そこから見た位置・距離・明るさ。太陽も星のひとつ)

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

最小化と gzip 圧縮をしたサイズは 125.8 kB(読み込むものをすべて含み、esbuild で計測)

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

エクスポート

名前種類概要
SeenSky型A list of seen stars, brightest first, with skipped: how many stars of the table could not be moved: they have no distance (a parallax of 0 or less) or, for a nearby star, no magnitude, or they lie nearer to the viewpoint than the error of its distance.
SeenStar型One star as seen from a viewpoint: where it is in that sky, how far, and how bright.
skyFrom関数The sky as seen from another star or point in space.
SkyFromOptions型The options of skyFrom.
SkyFromViewpoint型Where a sky is seen from: a bright star, a nearby star (from /nearby), a name starByName finds, or a point { x, y, z } in parsecs on the J2000 equatorial axes with the Sun at the origin (x toward right ascension 0, z toward the north pole).

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

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