In this assignment, you can use your mouse to rotate the polygon, use your mousewheel or touchpad to zoom in/out it and use w, a,s,d,z,c to move the polygon around. If you want to reset the translation of the polygon press r, if you want to reset the rotation move the mouse out of the canvas. In addition, the texture can change with the rotate angle.