The Tower of Hanoi is a mathematical puzzle that can easily be solved by your computer using a recursive program. In the Hz context we can both hear and see the algorithm as it runs. Perhaps this or other puzzles can form the basis for a rhythm track for your next song?
This example was inspired by a ChucK example created by Ge Wang and the ChucK team.
Here's a screengrab of Hanoi in the middle of solving the puzzle. There's no substitute for running it yourself! And if you want to understand how it all works, the javascript code is provided and is reasonably well commented.
