This lesson shows how to use the Tween JS library to animate a Shape on the HTML5 canvas. You use the "get" and the "to" methods animate the x and y properties to move the shape diagonally across the HTML5 canvas.
Download the Practice Files if you want to follow on your own computer and experiment with the examples.