Moon Phases

See how Moon phases form through a photorealistic 3D simulation using NASA textures and physically accurate lighting to illustrate crescents, quarters, and full moons.

Created by Astrosyo

A real-time visualization of lunar phases.

The Moon has been our closest celestial companion for billions of years. Its changing appearance in the night sky — from thin crescents to bright full moons — has inspired calendars, festivals, and myths across human history. Yet the mechanics behind these phases are elegantly simple.

To make this easier to visualize, I created an interactive 3D Moon Phases Simulation that shows exactly how sunlight, the Moon, and the observer on Earth align throughout a lunar month. You can adjust the phase angle yourself and watch the illuminated portion of the Moon change smoothly in real time.


🌙 Why Does the Moon Have Phases?

The Moon doesn’t produce light; it reflects sunlight. As the Moon orbits Earth, we see different portions of its sunlit half, depending on the geometry between the Sun, the Earth (our viewpoint), and the Moon itself. Even though the Moon always shows the same face toward Earth due to tidal locking, the illuminated fraction changes continuously over roughly 29.53 days — the duration of a synodic month.

In essence, the phase we see is determined by the angle between the Sun and the Earth as viewed from the Moon. This shifting geometry creates the gradual transition we observe from thin crescents to full illumination.


🌗 The Eight Classic Phases

During a full lunar cycle, the Moon transitions through eight commonly recognized stages. These include the New Moon, where the Moon lies between Earth and the Sun and appears completely dark; the Waxing Crescent, when a thin arc of sunlight begins to appear on the right; the First Quarter, in which half of the lunar face becomes illuminated; and the Waxing Gibbous phase, where the bright region grows larger.

At the midpoint lies the Full Moon, when the Earth is positioned between the Sun and the Moon and the entire near side reflects sunlight. After this, the cycle reverses: the Waning Gibbous phase brings a gradual shrink in brightness, followed by the Last Quarter, where the left half is illuminated, and finally the Waning Crescent, the final thin arc before returning to the New Moon.

Although these phases are given distinct names, the transition between them is entirely continuous. The simulation below allows you to see this smooth progression with complete clarity.


🛰️ How the Simulation Works

This 3D visualization is designed to show the Moon’s phases exactly as we experience them from Earth. The model uses high-resolution NASA lunar textures that reveal mountains, maria, and craters with realistic shading and depth.

A directional light source represents the Sun and moves around the Moon to recreate the changing illumination. Instead of shifting the Moon or the camera, the simulation rotates the “Sun” around the Moon, allowing the lighting angle to determine which regions appear bright and which fall into shadow.

The camera remains fixed, acting as your viewpoint from Earth. As the Sun’s angle changes, the visible illuminated region naturally forms crescents, quarters, and full phases. A simple slider lets you move through these stages manually, jump directly to a specific phase, or animate the cycle in motion.


🔭 Why This Visualization Helps

Traditional diagrams of the lunar cycle often show the Moon’s orbit from above, which can feel abstract. This simulation instead presents the Moon as we actually see it, with physically accurate lighting and realistic surface detail. It helps clarify several important ideas: that the Moon is always half illuminated by the Sun; that lunar phases are not caused by Earth’s shadow; that the illuminated portion grows before the Full Moon and shrinks afterward; and that the same side of the Moon always faces Earth.

By letting you directly manipulate the lighting geometry, the simulation makes these concepts intuitive and visually engaging.


🌘 Try It Yourself

Scroll down and experiment with the interactive Moon Phases Simulation. Move the light source, explore each phase, and watch how sunlight sweeps across the lunar surface. It is one of the simplest yet most visually satisfying astronomical simulations—clean, accurate, and scientifically grounded.


📡 Sources

High-resolution lunar textures and scientific data used in this simulation are provided by NASA’s Scientific Visualization Studio and the USGS Astrogeology Science Center.


🌕 Coming Next

More astronomy visualizations are on the way, including simulations of Earth’s axial tilt and seasons, eclipse geometry, Solar System distance scales, and exoplanet transit light curves. Stay tuned—clear skies!