Mathematics, mathematics education and computer programming.

Pentominoes

Since starting teaching I’ve noticed that a lot of teachers like to use pentominoes for various activities.
As a way of learning and practicing some Javascript and getting to know the Fabric.js (@fabricjs) canvas library I have produced a pentomino arranging exercise, a screen shot is shown below:

You can move and rotate the pieces with a mouse (to rotate use the rotation handle that appears when you click on a piece), it should also work on touch devices.

Feel free to have a go here if you aWnt. The objective is simple – rearrange the pentominoes to tile the rectangle on the left hand side of the screen.