The web page below shows an image of a head that bounces off the walls when the user mouses over the canvas. The head scales up in size by 0.1 when it hits a canvas edge.