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

regionGuideSvgfunction

The sheet "constellations for where you live" as an SVG string measured in millimetres: the constellations always up at a latitude, the best of the evening sky in a month (about 21:00 by the Sun) and the ones never seen, each with its figure and name, and a note on the most famous.

Import it

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

Definition

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

Parameters

NameTypeDescription
latitudenumber

Degrees north of the equator (negative south), -90 to 90.

monthnumber

1 to 12.

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 { regionGuideSvg } from "@johnmorrisdotca/hoshi-stars/sheets";

const guide = regionGuideSvg(-33.9, 7, { widthMm: 184.6, heightMm: 150, lang: "en" });
console.log(guide.includes('data-thumb="Cru"'), guide.includes('data-thumb="UMi"'));
true false

What it prints (run when this page was built)

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