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

eclipticLinefunction

The ecliptic as points of the equatorial sky, a degree of longitude apart by default, closed (the last is the first). The chart draws it as a dashed line when its ecliptic layer is on.

Import it

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

Definition

function eclipticLine(step?: number): SkyPoint[]

Parameters

NameTypeDescription
step (optional)number

The longitude step in degrees (1 when left out; at least 0.1).

Returns

SkyPoint[]

The points, from longitude 0 round to 360.

Examples

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

const line = eclipticLine(30);
console.log(line.length, Math.max(...line.map((p) => p.declination)).toFixed(1));
// 13 23.4
13 23.4

What it prints (run when this page was built)

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