@observerly/astrometry
Version:
observerly's lightweight, zero-dependency, type safe astrometry library written in Typescript for calculating the position of celestial objects in the sky.
12 lines (11 loc) • 335 B
JavaScript
import { getSolarEquatorialCoordinate as l } from "./sun.js";
const c = (e) => {
const a = [], o = new Date(e.getFullYear(), 0, 1), r = new Date(e.getFullYear() + 1, 0, 1);
for (let t = o; t <= r; t.setDate(t.getDate() + 1))
a.push(l(t));
return a;
};
export {
c as getEclipticPlane
};
//# sourceMappingURL=ecliptic.js.map