リファレンス
ほかの星から見た空 (そこから見た位置・距離・明るさ。太陽も星のひとつ)
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). |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。