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 data door: hand the package your own stars or objects as a source with its own licence and credit, and see whose data is on the screen

MapPlacetype

A piece of a map, in degrees: longitude and latitude (right ascension and declination for the sky). One shape in every package. *

Import it

import type { MapPlace } from "@johnmorrisdotca/hoshi-stars/door";

Definition

interface MapPlace {
    lonMin: number;
    lonMax: number;
    latMin: number;
    latMax: number;
}

Members

NameTypeDescription
lonMinnumber
lonMaxnumber
latMinnumber
latMaxnumber

Examples

import type { MapPlace } from "./data-door.ts";

const wholeSky: MapPlace = { lonMin: 0, lonMax: 360, latMin: -90, latMax: 90 };

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