Skip to the content

Wakusei Planets惑星

The Sun, the planets and their moons as a clean line drawing, a shaded realistic drawing or a painted surface map, with real sizes, tilt and rotation, and the moons where they are at any date and time.

Wakusei is the Japanese word 惑星 for a planet. About the name

Contents

Reference · Facts, line drawings and positions

STAR_SUNconstant

The Sun as numbers: the first example of a star, and the size the others are drawn beside.

Import it

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

Definition

const STAR_SUN: StarNumbers = { name: "Sun", temperatureK: SUN_K, radiusSun: 1, luminosityClass: "V", rotationDays: SUN_DAYS }

Members

NameTypeDescription
name (optional)string | undefined

What to call it: the picture's label. Default Star.

temperatureKnumber

The effective surface temperature in kelvin, 1,000 to 200,000. It sets the colour.

radiusSunnumber

The radius in solar radii (the Sun is 1), above 0 and up to 5,000. It sets the size beside the Sun and the size of the rings drawn round the star.

luminosityClass (optional)"0" | "Ia" | "Iab" | "Ib" | "II" | "III" | "IV" | "V" | "VI" | "D" | undefined

The luminosity class: it sets how coarse the surface is (fine cells on a dwarf, a few giant cells on a supergiant, none on a white dwarf). Default V.

rotationDays (optional)number | undefined

Days for one turn at the equator, negative when it turns backwards. Left out, a slow turn is drawn and the picture says the rotation is not given.

activity (optional)number | undefined

How spotted it is, 0 to 1. Left out it follows the temperature and the class: none on hot stars, many on cool dwarfs and red dwarfs, few and large on giants. The spots are illustrative either way.

oblateness (optional)number | undefined

(equatorial radius - polar radius) / equatorial radius, 0 to 0.4. A fast spinner such as Altair is about 0.2. The star is drawn squashed, with the poles hotter than the equator (gravity darkening). Default 0.

corona (optional)number | undefined

The strength of the soft glow round the star, 0 to 1. Default 0.8.

estimated (optional)readonly StarNumberName[] | undefined

The numbers above that are estimates, not measurements (a radius worked out from brightness, say). The picture says so.

Examples

import { STAR_SUN, starLook } from "@johnmorrisdotca/wakusei-planets";

console.log(STAR_SUN.temperatureK, starLook(STAR_SUN).turn.degreesPerSecond);
5772 12

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/wakusei-planets 0.25.0.