Zooming rotating fractal gearbox demo, implemented with OpenGL. Took a lot of tricky trial and error to get the maths for the rotations correct. One shader generates the gear shape, and another hue-rotates the smaller copies - using texture feedback to generate the full fractal.

Features planned in future versions include randomized zooming into gears other than the centre, but that might take some time.

Code available on Hackage:

cabal install gearbox

Or download the source: gearbox-1.tar.gz