I really can’t fully understand canvas, I did a lot of research but it wasn’t enough. Thank Soohyun for teaching me line by line to let me understand how canvas works. Definitely give her credit! I love you!
My homework is not prefect at all but I am very happy I can finally make something MOVE in a cool way. I hope it’s creative enough.
I learned a lot from this homework, like the logic of canvas. However, I still have a problem to make an array for animation. Now, I just copy and paste three times in code to make three boxes move. I want to know how to do it in my work.
Reference:
1. Basic: http://www.sitepoint.com/basic-animation-with-canvas-and-javascript/
2. Soohyun’s homework
3. Array in canvas: http://stackoverflow.com/questions/10513480/html5-canvas-array-of-images-draw-image-to-canvas