Something went wrong. Try again.
A Zig library for astronomical calculations: the Sun and Moon from anywhere on Earth, the Moon's phases and libration, and time scales.
Something went wrong. Try again.
1234567891011121314151617181920212223// SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie <jeff@ocjtech.us>// SPDX-License-Identifier: MIT
//! The Moon as seen from the Earth's center and, through `topocentric`, by//! an observer on its surface.//!//! Everything but `topocentric` is geocentric: an observer on the Earth's//! surface sees the Moon up to about a degree away from where `position`//! puts it.
const moon_position = @import("moon/position.zig");
pub const Position = moon_position.Position;pub const position = moon_position.position;pub const topocentric = moon_position.topocentric;
/// The Moon's phase at an instant; see `phase.at`.pub const phase = @import("moon/phase.zig");
/// The Moon's libration and the position angle of its axis; see/// `libration.at`.pub const libration = @import("moon/libration.zig");