Glyphlight

Scenes made of code and light.

Six pieces drawn entirely in Python: a clock, a study room, a breathing guide, a music visualiser, a poster maker and a pixel-art year. No image files. Every pixel is computed.

How it is made

Small tools, one shared engine.

0image files. Scenes, posters and sounds are generated by the code.
4libraries: NumPy, pygame, Pillow and SciPy. Video export uses ffmpeg.
3ways to use each piece: a live window, a still image or an exported video.

Run it

Three commands and you are looking at it.

Needs Python 3 and, for video, ffmpeg. The typography uses fonts that ship with macOS; other systems fall back to DejaVu.

1. Install
pip3 install numpy pygame pillow scipy
2. Run any piece
python3 rain_room.py
3. Make a video
python3 hours.py --export day.mp4