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 · The Milky Way: a brightness map and soft bands to draw

MilkyWayDetailOptionstype

How sharply to read the grid between its points.

Import it

import type { MilkyWayDetailOptions } from "@johnmorrisdotca/hoshi-stars/milky-way";

Definition

interface MilkyWayDetailOptions {
    detail?: number;
}

Members

NameTypeDescription
detail (optional)number | undefined

0 reads the grid in straight lines between its points (the default for milkyWayBrightness). Above 0 the grid is read along smooth curves and each value is pushed away from the mean of the degree or two round it, by this much: the dust lanes come out narrower and darker and the star clouds beside them brighter, the way the eye sees them. It sharpens what the grid holds and adds no detail of its own (no noise, nothing made up). From 0 to 2; 1 is the default for milkyWayTexture.

Examples

import { milkyWayBrightness, type MilkyWayDetailOptions } from "@johnmorrisdotca/hoshi-stars/milky-way";

const options: MilkyWayDetailOptions = { detail: 1 };
console.log(milkyWayBrightness({ rightAscension: 190, declination: -63 }, options)); // the Coalsack, darker than with detail 0
0.18262316275927565

What it prints (run when this page was built)

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