This are several examples of how to use simple commands to manipulate the canvas in the HTML5 canvas API using javascript. I made some contributions to these files but the credit goes to the creators of the course, you can find it here: https://www.udacity.com/course/ud292 -
View it on GitHub