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 · /chart

MarkerTracktype

A group joined in date order.

Import it

import type { MarkerTrack } from "@johnmorrisdotca/hoshi-stars/chart";

Definition

interface MarkerTrack {
    group: string;
    items: VisibleMarker[];
}

Members

NameTypeDescription
groupstring
itemsVisibleMarker[]

Examples

import { markerTracks, visibleMarkers, type MarkerTrack } from "@johnmorrisdotca/hoshi-stars/chart";

const tracks: MarkerTrack[] = markerTracks(visibleMarkers([{ ra: 1, dec: 1, date: 2 }, { ra: 2, dec: 2, date: 1 }]), true);
console.log(tracks[0]?.items.map((item) => item.id));
// [ 'm1', 'm0' ]
[ 'm1', 'm0' ]

What it prints (run when this page was built)

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