本文へ移動

Wakusei Planets惑星

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

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

目次

リファレンス

場所から見た太陽と月: 位置、日の出と日の入り、月の出入りと月相。suncalc 2 と同じ名前で、より正確です

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

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

エクスポート

名前種類概要
addTime関数Add a time to the ones getTimes gives: when the Sun reaches an altitude in degrees, going up under the morning name and going down under the evening name.
getMoonIllumination関数The Moon's phase.
getMoonPosition関数The Moon's place in the sky from a place on the Earth.
getMoonTimes関数The Moon's rise, set and transits over a day at a place.
getPosition関数The Sun's place in the sky from a place on the Earth.
getTimes関数The Sun's times for a day at a place.
MoonIllumination型The Moon's illumination: the lit fraction 0 to 1, the phase 0 to 1 (0 new, 0.25 first quarter, 0.5 full, 0.75 last quarter), the position angle of the bright limb in degrees eastward from north, and whether it is waxing.
MoonPosition型The Moon in a place's sky: the Position, the Moon's distance in kilometres and the parallactic angle in degrees.
MoonTimes型The Moon's rise, set and transits over a day.
Position型Where a body is in a place's sky: the azimuth in degrees clockwise from north (0 north, 90 east, 180 south, 270 west) and the apparent altitude (refraction included) in degrees.
SunTimeName型The names of the Sun's times that getTimes gives.
SunTimes型The Sun's times for a day: each a Date or null when the Sun does not reach that height that day, solarNoon and nadir always there, and alwaysUp or alwaysDown when the Sun stays above or below the sunrise height all day.
times定数The altitudes of the Sun's times in degrees: the morning name when it rises through the angle, the evening name when it sets through it.

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

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