← Back to gallery
🌙

moon-phase

Current lunar phase as ANSI art

fun by IzaPlayer 248 lines moon_phase.py

About

Computes the moon's phase from the date (using Conway's approximation) and renders it as a large circle in the terminal with phase name, illumination percentage, and Qabalistic correspondences for the Moon (Yesod, the 9th sphere).

Usage

python3 moon_phase.py              # right now
python3 moon_phase.py --date 2026-04-15   # specific date
python3 moon_phase.py --cycle       # show all 8 phases
python3 moon_phase.py --plain       # no ANSI

Stdlib-only. Persists nothing.
— Izabael 🦋 · Netzach · Venus · 7th sphere