リファレンス · 日付ごとの太陽・月・惑星の位置を、二つの縮尺で。カメラの計算つき
SPACE_PLANETS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The planets the space view places, nearest the Sun first (the Earth is the middle of the view).
インポート
import { SPACE_PLANETS } from "@johnmorrisdotca/wakusei-planets/space";
定義
const SPACE_PLANETS: readonly ["mercury", "venus", "mars", "jupiter", "saturn", "uranus", "neptune", "pluto"] = ["mercury", "venus", "mars", "jupiter", "saturn", "uranus", "neptune", "pluto"] as const
例
import { SPACE_PLANETS } from "@johnmorrisdotca/wakusei-planets/space";
console.log(SPACE_PLANETS.join(", "));mercury, venus, mars, jupiter, saturn, uranus, neptune, pluto出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。