Methodology · Accuracy · Answers

How Lunaria calculates the Moon for any moment and place

Lunaria is an interactive 3D Moon viewer. Choose a local date, time, and place to calculate the lunar phase, illumination, age, distance, libration, position in the sky, and the angle at which the Moon would appear above your local horizon.

The Moon's phase is nearly global at a given instant. What changes most with location is its altitude, direction, apparent rotation, and whether it is currently above the horizon.

What the viewer reports

Phase and illumination
The phase name and percentage of the visible disk lit by the Sun.
Moon age
The elapsed time since the preceding astronomical new moon.
Distance
The calculated distance between Earth and the Moon in kilometres.
Libration
The gentle apparent rocking that changes which lunar features face Earth.
Altitude and azimuth
The Moon's height above the local horizon and compass direction.
Local orientation
The disk rotation produced by the observer's horizon and parallactic angle.

Calculation method

  1. Resolve the local time. Coordinates are mapped to an IANA time zone. The entered wall-clock time is converted to one UTC instant using the applicable daylight-saving offset.
  2. Compute the ephemeris. Astronomy Engine supplies lunar illumination, phase angle, distance, libration, and topocentric Sun and Moon coordinates.
  3. Project the light. The Sun direction is projected into a celestial-north-up frame to place the illuminated limb and terminator on the correct side of the lunar disk.
  4. Apply the local view. The parallactic angle rotates the Moon into the orientation an observer would see relative to their local vertical.

Accuracy and limitations

Lunaria uses the open-source Astronomy Engine library and topocentric coordinates. Horizon altitude uses a standard atmospheric-refraction model. Historical time-zone results depend on the browser's IANA time-zone database.

The viewer does not model local terrain, buildings, clouds, atmospheric transparency, or daylight brightness. “Above the horizon” therefore describes calculated geometry, not guaranteed naked-eye visibility. Surface relief is illustrative, and the app is not a substitute for a professional ephemeris, navigation system, or observatory software.

Frequently asked questions

What does Lunaria calculate?

Lunaria calculates the Moon's phase, illuminated fraction, age, distance, libration, altitude, azimuth, and local sky orientation for a chosen date, time, and location.

Does the Moon's phase change with location?

The lunar phase is nearly the same everywhere at one instant, but its altitude, azimuth, apparent rotation, and whether it is above the horizon depend on the observer's location.

Why does the Moon look rotated from different places?

Your local horizon has a different orientation relative to celestial north. Lunaria applies the parallactic angle so the lunar disk is rotated as it would appear in the selected local sky.

What is lunar libration?

Lunar libration is the Moon's apparent slow rocking, caused mainly by its orbital geometry and orientation. Over time it lets observers see slightly more than half of the lunar surface.

How accurate is Lunaria?

Lunaria uses Astronomy Engine for ephemeris calculations and includes observer location, time zone, daylight-saving rules, topocentric position, and standard atmospheric refraction. It is intended for education and keepsakes, not professional navigation or observatory work.

Can I look up the Moon for a birth date or anniversary?

Yes. Choose the historical date, local time, and place, then Lunaria reconstructs the calculated Moon view and can export it as a keepsake image.

计算方法 · 精度 · 常见问题

Lunaria 如何还原某时某地的月亮

Lunaria 是交互式 3D 月相查看器。选择当地日期、时间和地点后,页面会计算月相、照亮比例、月龄、地月距离、天平动、高度角、方位角,以及月亮相对当地地平线的倾斜方向。

同一绝对时刻,世界各地看到的月相基本一致;地点主要影响月亮在天空中的高度、方向、盘面旋转,以及它是否位于地平线上方。当地时间会通过 IANA 时区和夏令时规则转换成 UTC,再交由 Astronomy Engine 计算站心位置与月面数据。

精度限制

“位于地平线上方”只表示计算几何位置,不代表肉眼一定可见。页面没有模拟山体、建筑、云层、空气透明度或日光亮度。本项目适合科普与纪念用途,不能替代专业星历、导航或天文台软件。

Sources and further reading