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 · A constellation in 3D: its stars placed in space from their parallaxes, with the range each error allows and the Earth's lines of sight

distanceQualityfunction

How well a star's distance is known (see DistanceQuality).

Import it

import { distanceQuality } from "@johnmorrisdotca/hoshi-stars/constellation-3d";

Definition

function distanceQuality(star: Pick<Star, "parallaxMas" | "parallaxErrorMas" | "parallaxSource">): DistanceQuality

Parameters

NameTypeDescription
starPick<Star, "parallaxMas" | "parallaxErrorMas" | "parallaxSource">

A star, or anything with a parallax in milliarcseconds, its error and its source.

Returns

DistanceQuality

The quality.

Examples

import { starByName } from "@johnmorrisdotca/hoshi-stars";
import { distanceQuality } from "@johnmorrisdotca/hoshi-stars/constellation-3d";

console.log(distanceQuality(starByName("Alnilam")!), distanceQuality(starByName("Rigel")!)); // none rough
none rough

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hoshi-stars 0.47.0.