๐ŸŒ‘ Current Moon Phase

New Moon๐ŸŒ‘

Phase:

Distance:

Time: (Live)
๐ŸŒ• Full Moon: May 31, 2026, 07:16 AM๐ŸŒ— Last Quarter: Jun 08, 2026, 06:38 AM๐ŸŒ‘ New Moon: Jun 15, 2026, 02:17 AM๐ŸŒ“ First Quarter: Jun 21, 2026, 10:54 PM

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.