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

fromGalacticfunction

The right ascension and declination (J2000) of a point given in galactic coordinates.

Import it

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

Definition

function fromGalactic(point: GalacticPoint): SkyPoint

Parameters

NameTypeDescription
pointGalacticPoint

A galactic longitude and latitude in degrees.

Returns

SkyPoint

Right ascension 0 up to but not including 360, declination -90 to 90.

Examples

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

console.log(fromGalactic({ longitude: 0, latitude: 0 })); // about { rightAscension: 266.4, declination: -28.9 }
{ rightAscension: 266.4049948010461, declination: -28.936173960138678 }

What it prints (run when this page was built)

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