Basics of JavaScript for Animation

  • Billy Lamberta


If the first chapter is a somewhat philosophical overview of animation, this one is a technical overview of what it takes to create an HTML5 document and how to animate using a canvas element and JavaScript. This chapter covers the essentials of document structure, animation loops, JavaScript objects, and user interaction. The techniques you learn here are used throughout the rest of the book.


Constructor Function Event Handler HTML5 Document Mouse Cursor Callback Function 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Billy Lamberta 2011

Authors and Affiliations

  • Billy Lamberta

There are no affiliations available

Personalised recommendations