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

MarkerRangetype

The moments to show: markers dated from from to to, both ends included. A marker with no date is always shown.

Import it

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

Definition

interface MarkerRange {
    from?: MarkerWhen | undefined;
    to?: MarkerWhen | undefined;
    fade?: number | undefined;
}

Members

NameTypeDescription
from (optional)MarkerWhen | undefined

The earliest moment shown; no limit when left out.

to (optional)MarkerWhen | undefined

The latest moment shown; no limit when left out.

fade (optional)number | undefined

Days over which a marker comes in from the edge of the range (and goes out at the other end): at the edge it is faint, fade days inside it is full. 0, a clean cut, by default.

Examples

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

const november: MarkerRange = { from: "2026-11-01", to: "2026-11-30", fade: 2 };
console.log(november.fade);
// 2
2

What it prints (run when this page was built)

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