<Canvas> not supported

Unfortunately it appears that your browser does not support the HTML5 <canvas> tag. This is essential for the interactive graphics used in this application. Please consider upgrading to a more modern browser which supports HTML 5 and ECMAScript 6 features.
Player:
Discs: Moves:
Click then right-click the image and "save as" to get a PNG file:
image

Controls

Left mouse/one finger: pan or drag top disc
Ctrl-left mouse/Right mouse/two finger drag: rotate
Mouse wheel/two finger pinch: zoom
The "reset" button resets the projection if you lose control.
First choose the number of discs (1-64). Then:
Drag the top disc to another stack.
Use the "player" controls to run a simulation.
Use the left and right "move" buttons to move without waiting.
Alternatively you can enter a move number directly and it will display the configuration after.that number of moves.
There are also buttons to move directly to the start (0) or end (*) positions.
Click the "save" button to generate a full-size image (transparent background) and then "save as" on the thumbnail to save it as a PNG file.

Play

The usual object of the game is to move all the discs from the left-hand post to the right-hand one in the smallest possible number of moves. On each move, a single disc must be taken from the top of a stack and placed on another post, but a larger disc must never be placed on a smaller one. It is well known that there is a unique solution, and the problem with N discs can be solved in 2N - 1 moves. A little online research, or careful study of this simulation, will reveal several strategies which produce the correct sequence of moves, but beware: not everything you find online is correct or helpful. The usual solution only visits 2N different configurations of the discs, but there are 3N - 2N other legal ways to arrange them. What happens if you start from one of these other positions?

Legend

The puzzle is also known as the "Tower of Brahma", for the following reason:
Legend has it that in Benares (modern Varanasi) there is a temple named Kashi Vishwanath, containing, beneath the dome which marks the centre of the world, a brass slab supporting three time-worn diamond needles, on which are placed 64 golden discs. Brahmin priests, acting on the command of an ancient prophecy, have been moving these discs in accordance with the immutable rules of Brahma since that time. According to the legend, when the last of the 1,84,46,74,40,73,70,95,51,615 moves is completed, the tower and the Brahmins will crumble to dust and the world will end.