Reference · The Milky Way: a brightness map and soft bands to draw
MilkyWayStriptype
A ribbon of the Milky Way at one brightness level: two chains of sky points of the same length, the upper edge and the lower, each pair at the same galactic longitude. Draw the ribbon as
the polygon upper forward then lower backward. A strip stops where the band splits or ends (a dust lane, the end of a bright patch), so one level is several strips.
Import it
import type { MilkyWayStrip } from "@johnmorrisdotca/hoshi-stars/milky-way";
Definition
interface MilkyWayStrip {
upper: SkyPoint[];
lower: SkyPoint[];
}
Members
| Name | Type | Description |
|---|---|---|
upper | SkyPoint[] | The edge toward the galactic north, from low longitude to high. |
lower | SkyPoint[] | The edge toward the galactic south, at the same longitudes as |
Examples
import { milkyWayBands, type MilkyWayStrip } from "@johnmorrisdotca/hoshi-stars/milky-way";
const strip: MilkyWayStrip = milkyWayBands()[0]!.strips[0]!;
console.log(strip.upper.length === strip.lower.length);trueWhat it prints (run when this page was built)