Interactive Moon phase simulator.
Moon Phase Simulator
New Moon
About Moon Phases
The Moon completes a full orbit around Earth approximately every 29.5 days. As it orbits, the portion of the Moon that appears illuminated from Earth changes, creating the lunar phases we observe.
The phases occur because we see the portion of the Moon that’s illuminated by the Sun from different angles as the Moon orbits Earth.
Major phases:
- New Moon: The Moon is between Earth and Sun, with its dark side facing us
- Waxing Crescent: A small portion of the illuminated side becomes visible
- First Quarter: Half of the Moon appears illuminated
- Waxing Gibbous: More than half, but not all of the Moon is illuminated
- Full Moon: The entire near side of the Moon is illuminated
- Waning Gibbous: More than half, but decreasing
- Last Quarter: Half of the Moon appears illuminated (opposite side from First Quarter)
- Waning Crescent: A small crescent is visible, diminishing until the next New Moon
Moon Phase Simulator
{/* Main visualization area */}
{/* Sun (fixed light source) */}
{/* Earth */}
{/* Moon's orbit path */}
{/* Moon */}
{/* Moon phase visualization */}
{/* Moon base */}
{/* Moon shadow based on position */}
180 ?
Math.min(100, Math.max(0, ((orbitalPosition - 180) / 180) * 100)) :
Math.min(100, Math.max(0, (1 - orbitalPosition / 180) * 100))}% 0 0)`
}}>
Current Moon Phase: {moonPhase}
{/* Moon base */}
{/* Moon shadow based on phase */}
Illumination: {illuminationPercentage.toFixed(1)}%
Orbit position: {orbitalPosition.toFixed(1)}°
Speed: