Open-source scientific visualization

3D Eclipse Simulator for Solar and Lunar Eclipses

Explore 30,000 years of solar and lunar eclipses in an open-source real-time 3D simulator. Visualize the Moon's umbra, penumbra and antumbra over a geographically accurate Earth with Cesium terrain.

Built with Unreal Engine 5.7 · Cesium for Unreal · C++ · Python · Skyfield · JPL DE441

The Moon's umbra and penumbra represented as three-dimensional shadow cones over Earth

The Moon’s shadow geometry: 3D umbra and penumbra interacting with the Earth model.

71,264Solar eclipses
72,272Lunar eclipses
30,000Years covered
5,079Naked-eye stars

See the geometry, not just the eclipse path

Many eclipse resources present a 2D path on a map or a table of contact times. This simulator is designed to make the spatial geometry visible: explore the shadow cones, their intersection with an Earth modeled as a WGS84 ellipsoid, and the resulting path over real Cesium terrain.

Total solar eclipse with the solar corona visible

Explore real eclipse events

Browse a searchable catalogue of solar and lunar eclipses across the supported historical and future date range.

Real-world landscape streamed using Cesium terrain

Explore real-world terrain

Use free-flight navigation to move between orbital views and locations on streamed geographic terrain.

Features

Astronomical computation, geospatial visualization and interactive exploration in one desktop application.

🌘 3D eclipse geometry

Visualize umbra, penumbra and antumbra cones, together with the path of totality or annularity as a 3D band.

🌍 WGS84 Earth and Cesium terrain

Place the computed shadow geometry on an Earth modeled as a WGS84 ellipsoid, with terrain and imagery streamed through Cesium for Unreal.

🗓️ Long-range eclipse catalogues

Search and filter 71,264 solar and 72,272 lunar eclipses spanning 13,000 BC to 17,000 AD.

⏱️ Contact times and telemetry

Explore C1–C4 contact times, magnitude, coverage, altitude, azimuth and other astronomical information.

📍 City visibility

Inspect cities from which an eclipse is visible; for the 12 August 2026 solar eclipse, the documented catalogue lists 2,341 cities in 73 countries.

🌌 Night sky and solar system

Explore 5,079 naked-eye stars, constellations, planets and selected natural satellites.

🌦️ Weather and atmosphere controls

Experiment with configurable clouds, fog, rain and snow effects. These are visualization controls, not operational weather forecasts.

🌙 Lunar limb model

A compact hash-grid neural elevation model trained on NASA LRO/LOLA data supports lunar-limb corrections. Its documented RMSE against the gridded DEM is 12.57 m.

Demo videos

Watch the short trailer or a longer walkthrough of the application.

3D Eclipse Simulator — Trailer

A short overview of the simulator and its 3D visualization capabilities.

3D Eclipse Simulator — Full demo

A longer walkthrough of the application and its features.

Scientific methods and validation

The simulator combines ephemeris data with custom geometry and numerical procedures. The figures below describe documented tests; they should not be interpreted as a universal accuracy guarantee across the full 30,000-year interval.

JPL DE441 and Skyfield

Celestial positions are obtained from JPL DE441 ephemerides through the Skyfield Python library.

WGS84 cone–ellipsoid intersection

The shadow geometry is intersected with an ellipsoidal Earth model rather than assuming a perfect sphere.

Time scales and ΔT

The backend handles time-scale conversion and calendar reconciliation for the historical catalogue.

Contact-time comparisons

Documented C1–C4 comparisons against Xavier Jubier for selected total solar eclipses (1999, 2026 and 2027) show maximum differences of up to 1.7 seconds across the tested cases.

Validation is limited to the documented events and locations. The application does not claim one-second independent validation for every eclipse over the entire catalogue range. See the repository’s validation files for comparison data and methodology.

For the implementation details, reproducibility materials, limitations and installation instructions, see the public source repository.

How it works

A two-tier architecture keeps astronomical computation separate from real-time rendering.

┌────────────────────────────────┐       UDP       ┌────────────────────────────────┐
│ Unreal Engine 5                │ ◀─────────────▶ │ Python backend                 │
│ C++ · UI · rendering · Cesium  │                 │ Skyfield · JPL DE441 · geometry│
│ camera · effects · telemetry   │                 │ contact times · city visibility│
└────────────────────────────────┘                 └────────────────────────────────┘

The Python backend computes astronomical data and sends compact binary UDP packets to Unreal Engine. Unreal Engine renders the scene and Cesium provides geospatial terrain and imagery.

Download, inspect the source and get involved

The application is free to download, and the project source is publicly available under the Apache License 2.0, subject to the repository’s third-party asset notices.

The desktop application targets Windows and requires an internet connection for Cesium terrain and imagery streaming. On first run, users need their own Cesium ion access token. Follow the setup guide in the repository.

Frequently asked questions

Answers about the simulator’s capabilities, scientific validation, installation and technical requirements.

What is the 3D Eclipse Simulator?

3D Eclipse Simulator is a free, open-source Windows desktop application for exploring solar and lunar eclipses in real time. It combines Unreal Engine 5, Cesium for Unreal, and a Python astronomy backend using Skyfield and JPL DE441 ephemerides.

Rather than showing only a flat eclipse map, it visualizes the three-dimensional umbra and penumbra geometry and the eclipse path over a WGS84 Earth model with streamed Cesium terrain.

Which types of solar and lunar eclipses can I explore?

The solar eclipse catalogue includes total, annular, hybrid and partial eclipses. The lunar catalogue includes penumbral partial, penumbral total, umbral partial, umbral total and umbral central eclipses.

You can search, filter and sort both catalogues, open an event in the 3D view, and inspect its available details. For lunar eclipses, the catalogue and 3D view are supported, but the application does not provide per-city lunar contact times.

How far back and forward in time does the simulator go?

The catalogues contain 71,264 solar eclipses and 72,272 lunar eclipses across the period from 13,000 BC to 17,000 AD, based on the project’s documented eclipse catalogue. Requests outside this date range are not supported.

The full time span should not be interpreted as a claim of uniform one-second accuracy across all dates. See the validation and limitations answers below.

How accurate are the eclipse contact times?

The geometric C1–C4 contact times were compared with Xavier Jubier’s published results at matching observer locations for three total solar eclipses: 11 August 1999 (maximum difference ≤ 1.7 s), 12 August 2026 (≤ 1.0 s), and 2 August 2027 at Luxor (≤ 1.3 s).

These are documented test cases, not a universal accuracy guarantee for the entire 30,000-year catalogue. Independent validation covers only the selected events. The limb-corrected contacts C1L–C4L have not been independently validated. The README also documents a ΔT extrapolation limitation that produces an approximately 21-second difference relative to Jubier for the 2038 case.

Reproducibility scripts, inputs and comparison tables are available in the validation directory.

What does the lunar limb model’s 12.57 m RMSE represent?

The lunar limb model is a multi-resolution hash-grid neural elevation model trained using NASA’s LRO/LOLA gridded lunar elevation data. Its reported validation RMSE is 12.57 m relative to that DEM, whose native resolution is about 118 m per pixel; this is not an error measured against the true lunar surface.

The model is focused on two longitude bands of ±10° around the ±90° selenographic meridians, covering approximately 11.1% of the lunar surface. Contacts outside those trained bands, such as under extreme libration, are outside the model’s documented domain.

Does the simulator work without an internet connection?

The Python astronomy backend can run offline once the required ephemeris files have been downloaded. The complete 3D application still needs an internet connection to stream Cesium terrain and imagery from Cesium ion and to resolve place names through the Nominatim service.

Without an internet connection, astronomical data and contact-time calculations can continue to work, but Cesium World Terrain and imagery will not load. Location lookup can fall back to GPS coordinates.

Do I need my own Cesium ion access token?

Yes. The application uses a bring-your-own-key model: create a Cesium ion account, copy or create an access token, and paste it into Settings → Cesium API Key. The token is remembered for later sessions. Terrain streaming uses your own Cesium account, and no shared token is bundled with the application.

See the first-run instructions in the repository.

Are the clouds and weather effects real forecasts?

No. Clouds, fog, rain and snow are configurable visual effects for scene visualization. They are independent of the astronomical calculations and are not operational weather forecasts or predictions of cloud cover at an eclipse location.

Why might my town or village be missing from the city visibility list?

The catalogue’s city visibility list is calculated for the 8,133 locations included in the project’s CountryPoints.csv, derived from GeoNames’ cities5000 dataset. Smaller towns and villages are not all included, so a location missing from the list may still experience the eclipse.

What operating system and hardware does the application require?

The packaged application targets Windows 10 and Windows 11 and requires a DirectX 12-capable GPU. The repository estimates a minimum of an Intel Core i5-equivalent CPU, 12 GB RAM and an integrated 2 GB DirectX 12 GPU. The recommended configuration is an Intel Core i9-equivalent CPU, 32 GB RAM and a dedicated GPU with at least 8 GB VRAM.

The packaged application is approximately 6 GB. The minimum hardware figures are estimates; performance and frame rate depend on the GPU and network speed.

Is the 3D Eclipse Simulator free and open source?

Yes. The application is available as a free download, and the project source code is released under the Apache License 2.0. Some third-party software, datasets, textures and other assets remain subject to their own licenses and terms; see the repository’s third-party notices.

Can I build the simulator from source?

Yes. The documented setup uses Windows 10/11, Unreal Engine 5.7, Cesium for Unreal 2.22.1, Visual Studio with the Game development with C++ workload, and Python 3.13. The ephemeris downloader requires approximately 5–6 GB of data. The repository’s installation guide contains the complete build steps and dependencies.

Read the build-from-source guide on GitHub.

About the developer

Created by Dragoș Boncan, a Computer Science graduate and MSc Data Science student at the National University of Science and Technology POLITEHNICA Bucharest. The project began as a bachelor’s thesis and was developed independently.