Bruce Alderman is Lead Programmer for Johnson County Library in Kansas and a freelance writer. He has been building web sites since 1997.
In a previous tutorial, Bruce Alderman demonstrated how to create a sliding puzzle game with HTML5 canvas. To randomize those tiles would require a separate tutorial to explain. This is that tutorial.
Bruce Alderman steps you through coding a sliding puzzle to demonstrate some of the image manipulation capabilities of HTML5 canvas.