Skip to the content

Hoshi Stars星

The stars you can see without a telescope, with names, colours and distances; the 88 constellations with their lines and boundaries; the Messier objects; and seven map projections to draw them on.

Hoshi is the Japanese word 星 for a star. About the name

Contents

Reference · Stars: names, positions, distance and colour

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/hoshi-stars";

Definition

function starTemperatureK(colourIndex: number): number

Parameters

NameTypeDescription
colourIndexnumber

B-V in magnitudes.

Returns

number

Kelvin.

Examples

import { starTemperatureK } from "@johnmorrisdotca/hoshi-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/hoshi-stars 0.7.0.