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 · Map projections for sky charts

SkyPointtype

A point on the celestial sphere, in degrees. Right ascension may be any number (it wraps at 360); declination is -90 to 90.

Import it

import type { SkyPoint } from "@johnmorrisdotca/hoshi-stars/projection";

Also exported from: @johnmorrisdotca/hoshi-stars/milky-way, @johnmorrisdotca/hoshi-stars/sky

Definition

interface SkyPoint {
    rightAscension: number;
    declination: number;
}

Members

NameTypeDescription
rightAscensionnumber

Right ascension in degrees.

declinationnumber

Declination in degrees, -90 to 90.

Examples

import type { SkyPoint } from "@johnmorrisdotca/hoshi-stars/projection";

const polaris: SkyPoint = { rightAscension: 37.95, declination: 89.26 };
console.log(polaris.declination);
89.26

What it prints (run when this page was built)

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