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 · The 5,080 stars you can see without a telescope: names, positions, proper motion, distance and colour (about 100 kB gzipped)

starTemperatureKfunction

The surface temperature a colour index implies, in kelvin, by Ballesteros's relation between B-V and a black body. It is an estimate to a few hundred kelvin for most stars, and it runs cool for the hottest (about 16,600 K at -0.3).

Import it

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

Definition

function starTemperatureK(colourIndex: number): number

Parameters

NameTypeDescription
colourIndexnumber

B-V in magnitudes.

Returns

number

Kelvin.

Examples

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

console.log(Math.round(starTemperatureK(0.65)));
5778

What it prints (run when this page was built)

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