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 · /chart

dimsForUncertaintyfunction

Whether the "show uncertainty" look draws a star dimmer: a grade C star (a rough or missing distance) is, grades A and B are not.

Import it

import { dimsForUncertainty } from "@johnmorrisdotca/hoshi-stars/chart";

Definition

function dimsForUncertainty(star: Star): boolean

Parameters

NameTypeDescription
starStar

A bright star.

Returns

boolean

true for grade C.

Examples

import { starByName } from "@johnmorrisdotca/hoshi-stars";
import { dimsForUncertainty } from "@johnmorrisdotca/hoshi-stars/chart";

console.log(dimsForUncertainty(starByName("Sirius")!), dimsForUncertainty(starByName("Rigel")!)); // false true
false true

What it prints (run when this page was built)

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