本文へ移動

Hoshi Stars星

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

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

目次

リファレンス

星座の文化 (図形と文化の型、自分で作る文化)

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

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

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

エクスポート

名前種類概要
Asterism型One figure of a sky culture: its names, its reading and the stars it joins, as Bright Star Catalogue (HR) numbers.
AsterismKind型What kind of thing a figure is: one of the 88 constellations, a smaller asterism, or one of the Twenty-Eight Mansions of the Chinese sky.
Culture型A sky culture: a named set of figures.
defineCulture関数Makes a culture from a function that lists its figures.
NameLanguage型The languages a name can be in: Latin, English, Japanese, and Chinese in Simplified (zh-Hans) and Traditional (zh-Hant) characters.

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

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