Reference · Map projections for sky charts
PROJECTIONSconstant
The projections: the five that show a hemisphere or less, then the two that show the whole sky.
Import it
import { PROJECTIONS } from "@johnmorrisdotca/hoshi-stars/projection";
Definition
const PROJECTIONS: readonly ["stereographic", "orthographic", "gnomonic", "equidistant", "equirectangular", "mollweide", "hammer"] = ["stereographic", "orthographic", "gnomonic", "equidistant", "equirectangular", "mollweide", "hammer"] as const
Examples
import { PROJECTIONS } from "@johnmorrisdotca/hoshi-stars/projection";
console.log(PROJECTIONS.join(", "));stereographic, orthographic, gnomonic, equidistant, equirectangular, mollweide, hammerWhat it prints (run when this page was built)