Ticking Away, a Dark Side of the Moon Watchface Written in Zig
Ticking Away, a Dark Side of the Moon Watchface Written in Zig
I built a watchface inspired by Pink Floyd's "Dark Side of the Moon". A prism that refracts light into a rainbow to show the time. The minute hand is a light ray, the rainbow points at the hour. It's written in Zig, which lets me target the browser (WASM), a Raspberry Pi Zero 2 W driving a 13.3" e-ink display as a wall clock, a Pico 2 for bare-metal battery operation, and eventually the Pebble Round 2 smartwatch. I built it with Claude Code (Opus) as an experiment in AI-assisted coding while keeping real ownership of the code. Claude does the fast iteration, I make the architecture decisions and refactor by hand. Every line in lib/ is reviewed and curated. The rendering went through a few iterations. Started with physical dispersion using Cauchy's equation, but tuning the coefficients for all 720 time combinations was a nightmare and some just looked bad. Then I tried bouncing light inside the prism, which was better but had ugly corner cases. In the end I dropped the physics and went with a simple traced path that always looks good.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
I have written a cloud native dark web crawler in Go
A dark themed Ping.gy
After Dark
Mulle-container: Sets, hashtables, arrays and more – written in C
Mulle_sprintf, an extensible sprintf written in C
QuickNote (qnote) written in GoLang
Rmux, a Redis multiplexer written in Go
Rift – An Intel 8051/52 assembler written in Java
A Tmux Keylogger Written in Bash
A pipelined RISC-V processor written in VHDL