I used Blender to create an animation of solving the Tower of Hanoi puzzle using a recursive algorithm.
The end result can be seen here:
I created the initial discs and towers by hand. I then created a Python script that automatically determined the next movements and inserted the appropriate keyframes for generating the animation.
The github link for the files are here: https://github.com/binarypearl/Tower-of-Hanoi-Blender
Including tower_of_hanoi.py, if you want to see examples of using the algorithm and inserting keyframes in Python.
Render time: ~40 hours
Render: Cycles with Subsurface Scattering using GPU Compute Experimental Feature Set.
Resolution: 1080p at 24 fps