本文へ移動

Wakusei Planets惑星

太陽・惑星・衛星を、線画、陰影つきの絵、表面の地図で描きます。実際の大きさ・傾き・自転つきで、任意の日時の衛星の位置も分かります。

「惑星」(わくせい) は、太陽のまわりを回る大きな星のことです。 名前について(英語)

目次

リファレンス

望遠鏡なしで見える5,080個の星: 名前、位置、固有運動、距離、色 (gzip で約100 kB)

import { … } from "@johnmorrisdotca/wakusei-planets/stars";

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

エクスポート

名前種類概要
blackBodyColour関数The colour of a black body at a temperature, as a #rrggbb string, for drawing a star.
Star型One star, as the Yale Bright Star Catalogue gives it.
starByHr関数A star by its Bright Star Catalogue number.
starByName関数A star by its common name (Sirius) or its designation (α CMa, 9 CMa), ignoring case.
starColour関数The colour to draw a star: from its B-V index, or a plain white where the catalogue has none.
starDistanceLightYears関数A star's distance from its parallax, in light-years.
starPosition関数Where a star is at a moment: its J2000 position carried forward (or back) by its proper motion in a straight line.
stars関数The stars to a magnitude, brightest first.
starTemperatureK関数The surface temperature a colour index implies, in kelvin, by Ballesteros's relation between B-V and a black body.

ソースを見るGitHub で編集@johnmorrisdotca/wakusei-planets 0.24.0 のソースから作成しました。

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