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 · Printable sheets: connect-the-dots constellations, the constellations for a latitude, a star wheel to cut out and a sky map for each month

starWheelDiscfunction

The star disc of a wheel for a latitude as an SVG string measured in millimetres: the stars to magnitude 3.5 (kid) or 5 (normal), the figures, the equator and the ecliptic dashed, the names of the best known constellations and the ring of dates.

Import it

import { starWheelDisc } from "@johnmorrisdotca/hoshi-stars/sheets";

Definition

function starWheelDisc(latitude: number, options: { widthMm: number; heightMm: number; lang?: Lang; type?: "kid" | "normal"; }): string

Parameters

NameTypeDescription
latitudenumber

Degrees north of the equator (negative south); a wheel is made for 20 to 70 degrees, and a latitude outside is moved to the nearest.

options{ widthMm: number; heightMm: number; lang?: Lang; type?: "kid" | "normal"; }

widthMm and heightMm (the room of the page's body), lang and type (kid or normal).

Returns

string

The <svg> markup.

Examples

import { starWheelDisc } from "@johnmorrisdotca/hoshi-stars/sheets";

const disc = starWheelDisc(45, { widthMm: 184.6, heightMm: 200, lang: "en" });
console.log(disc.includes('data-cut="disc"'), disc.includes('data-month="12"'));
true true

What it prints (run when this page was built)

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