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 whole sky on one wide 2:1 map: galactic or equatorial, Mollweide, Hammer or plate carrée, with lines cut cleanly at the seam

AllSkyPointtype

A point of the picture: x to the right and y DOWN from the top left corner, as a screen has it.

Import it

import type { AllSkyPoint } from "@johnmorrisdotca/hoshi-stars/all-sky";

Definition

interface AllSkyPoint {
    x: number;
    y: number;
}

Members

NameTypeDescription
xnumber
ynumber

Examples

import type { AllSkyPoint } from "@johnmorrisdotca/hoshi-stars/all-sky";

const middle: AllSkyPoint = { x: 500, y: 250 };
console.log(middle.x / 2 === middle.y);
true

What it prints (run when this page was built)

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