lineupCredit関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The credits that travel with a picture of the size line-up: the radii are from refereed papers, the stars are drawn from numbers and not photographs, and the planets' sizes are the IAU's and NASA's.
インポート
import { lineupCredit } from "@johnmorrisdotca/wakusei-planets";
定義
function lineupCredit(options: LineupEmbed): string
引数
| 名前 | 型 | 説明 |
|---|---|---|
options | LineupEmbed | The choices, so the planets and their pictures are named only when they are used. |
戻り値
string
A short line of credit to put near the picture.
例
import { lineupCredit } from "@johnmorrisdotca/wakusei-planets";
console.log(lineupCredit({ planets: true }));Wakusei Planets by John Morris (MIT). Sizes at true relative scale; each star's radius is from a refereed paper that measured its angular diameter (sources and disagreements in the package's NOTICE.md). The stars are drawn from their numbers, not photographs: the cells, spots and glow are illustrative. Earth and Jupiter: IAU and NASA sizes.出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。