HANOI
 

Towers of Hanoi - solving the problem and animation.

You can change the number of the disks. For this you have to change the numDisks(5). from the source.
 

See also Examples