๐ŸŒ– Current Moon Phase

Waning Gibbous๐ŸŒ–

Phase: 97.78%

Distance: 399,479 kilometers

Time: (Live)
๐ŸŒ‘ New Moon: Mar 19, 2026, 01:56 AM ๐ŸŒ“ First Quarter: Mar 25, 2026, 07:24 PM ๐ŸŒ• Full Moon: Apr 01, 2026, 09:45 PM ๐ŸŒ— Last Quarter: Apr 10, 2026, 03:11 AM

ABOUT THIS PROJECT

A tiny astronomy tool, rendered like a photo

I built this after stumbling on a beautiful 3D Moon demo on CodePen โ€” it looked amazing, but I wanted it to be right. So I paired that visual idea with real moon phase calculations, and turned it into a fast, no-nonsense page you can open and instantly trust.

Why I made this

๐ŸŒ™
  • Because a moon phase widget should feel like a photo, not a sticker.
  • Because I wanted the illuminated fraction and limb direction to be driven by math.
  • Because building a polished little tool is fun (and so is DOGE mode).

How it works

๐Ÿ› ๏ธ
  • Moon phase math comes from SunCalcโ€™s illumination + position APIs.
  • 3D rendering is done with Three.js using a sphere, textures, and a displacement map.
  • Lighting is computed so the illuminated fraction and limb angle line up.

Sources & credits

๐Ÿ“š

Privacy

If you allow geolocation, itโ€™s used only to orient the limb correctly for your sky. The app doesnโ€™t send your coordinates anywhere.

Whatโ€™s accurate?

The Moonโ€™s orientation/rotation is now accurate. The illuminated fraction and limb orientation are computed from SunCalc. The lighting still needs some fine tuning.

Built with

SvelteKit + Tailwind for UI, Three.js for rendering, and a few small UI utilities.