defaultPortrait関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
An empty scene with the usual settings: an automatic row, readable sizes, the stars behind, the Sun upper left.
インポート
import { defaultPortrait } from "@johnmorrisdotca/wakusei-planets";
定義
function defaultPortrait(): Portrait
戻り値
Portrait
A new scene with no bodies.
例
import { defaultPortrait } from "@johnmorrisdotca/wakusei-planets";
console.log(defaultPortrait().bg);stars出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。