Hi, I learned computer engineering because I wanted to become a video game creator.
So this week I'm very happy to teach you how to make smooth animation in a canvas element.
And by smooth animation, I mean state-of-the-art 60 frames per second animation.
We will use the requestAnimationFrame API that has been designed especially for that and that replaces all the ways of doing animation in HTML pages.
We will recommend good practices and compare the old and the new way of animating shapes in an HTML document.
By old and new, we mean before HTML5 and after HTML5.
Then, in the second time, we will look at user interactions.
How we can take into account the keyboard or the mouse for making interactive animation.
We will also recall the basic techniques of event handling using JavaScript.
Animation, enjoying graphics, is a lot of fun and I hope you will share your creations in the discussion forum so that we can have some fun looking at everybody's creations.