リファレンス
全天を1枚の横長 (2対1) の地図に (銀河座標か赤道座標、モルワイデ・ハンマー・正距円筒図法。継ぎ目で線をきれいに切る)
import { … } from "@johnmorrisdotca/hoshi-stars/all-sky";
最小化と gzip 圧縮をしたサイズは 3.4 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
ALL_SKY_FRAMES | 定数 | The two orientations of the whole-sky picture: galactic puts the Galaxy's plane along the middle with the centre of the Galaxy (in Sagittarius) in the middle of the picture, equatorial puts the celestial equator along the middle. |
ALL_SKY_PROJECTIONS | 定数 | The projections that fill a 2:1 box exactly: Mollweide's and Hammer's equal-area ovals and the plain longitude and latitude rectangle. |
AllSkyFrame | 型 | An orientation of the whole-sky picture. |
allSkyGrid | 関数 | The grid of the picture: a meridian every every degrees of longitude and a parallel every every degrees of latitude, in the picture's own frame (the galactic grid for a galactic picture), the poles left out. |
AllSkyGridLine | 型 | One line of the grid of the picture: a meridian (a line of constant longitude) or a parallel (constant latitude) of the picture's own frame. |
allSkyLine | 関数 | A line on the sky (a figure's segment, a boundary, a meridian) as runs of points of the picture. |
AllSkyOptions | 型 | How to lay the whole sky out. |
allSkyOutline | 関数 | The edge of the whole-sky picture as a closed run of points: the oval of Mollweide and Hammer, or the rectangle. |
AllSkyPoint | 型 | A point of the picture: x to the right and y DOWN from the top left corner, as a screen has it. |
allSkyProject | 関数 | Where a point of the sky lands in the picture. |
AllSkyProjection | 型 | A projection of the whole-sky picture. |
allSkyUnproject | 関数 | The sky under a point of the picture: the inverse of allSkyProject, with the same options. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。