Interactive fractal clock

Fractal Clock
I made a simple clock app inspired by this fractal clock demo. I originally wrote it in Lua, but rewrote it in C for better performance. The entire app is just over 100 lines of C, and is on GitHub here. One fun thing I added is the ability to scrub through time with the crank. The clock makes some cool patterns and with the crank you can go back in time to see them better, or fast-forward in time to see other patterns. The other controls are up/down to adjust the level of recursion, and left/right to adjust the length modifier for the sub-clocks. Anything more than a recursion depth of about 8 and things start to turn into a slide show.

Fractal (24.7 KB)