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 · The Milky Way: a brightness map and soft bands to draw

GalacticPointtype

A point in galactic coordinates, in degrees.

Import it

import type { GalacticPoint } from "@johnmorrisdotca/hoshi-stars/milky-way";

Definition

interface GalacticPoint {
    longitude: number;
    latitude: number;
}

Members

NameTypeDescription
longitudenumber

Galactic longitude, 0 (toward the Galactic centre in Sagittarius) up to but not including 360.

latitudenumber

Galactic latitude, -90 to 90: 0 is the plane of the Milky Way.

Examples

import type { GalacticPoint } from "@johnmorrisdotca/hoshi-stars/milky-way";

const centre: GalacticPoint = { longitude: 0, latitude: 0 };
console.log(centre.longitude);
0

What it prints (run when this page was built)

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