Reference · Facts, line drawings and positions
lineupCreditfunction
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 it
import { lineupCredit } from "@johnmorrisdotca/wakusei-planets";
Definition
function lineupCredit(options: LineupEmbed): string
Parameters
| Name | Type | Description |
|---|---|---|
options | LineupEmbed | The choices, so the planets and their pictures are named only when they are used. |
Returns
string
A short line of credit to put near the picture.
Examples
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.What it prints (run when this page was built)