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 · What you can see tonight: the stars above the horizon of a place and a moment that the Sun's light, the sky's darkness and the air still let through, with the twilight, each star's altitude and azimuth and how easy it is to see

twilightOffunction

The kind of twilight for a Sun altitude: "day" above -0.833 degrees (the upper edge on the horizon, with refraction), "civil" to -6, "nautical" to -12, "astronomical" to -18, then "night".

Import it

import { twilightOf } from "@johnmorrisdotca/hoshi-stars/tonight";

Definition

function twilightOf(altitude: number): Twilight

Parameters

NameTypeDescription
altitudenumber

The Sun's altitude in degrees.

Returns

Twilight

The twilight.

Examples

import { twilightOf } from "@johnmorrisdotca/hoshi-stars/tonight";

console.log(twilightOf(10), twilightOf(-9), twilightOf(-30)); // day nautical night
day nautical night

What it prints (run when this page was built)

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