This page contains all the samples, excercises, and demo code from
Fork this repo on GitHub.
Foundation HTML5 Animation with JavaScript, by Billy Lamberta and Keith Peters, covers everything that you need to know to create dynamic, scripted animations using the HTML5 canvas. It provides information on all the relevant math you'll need, before moving on to physics concepts like acceleration, velocity, easing, springs, collision detection, conservation of momentum, 3D, and forward and inverse kinematics. Foundation HTML5 Animation with JavaScript is a fantastic resource for all web developers working in HTML5 or switching over from Flash to create standards-compliant games, applications, and animations that will work across all modern browsers and most mobile devices, including iPhones, iPads, and Android devices.
This is table of contents and exercises from Foundation HTML5 Animation with JavaScript,
which can be found at Amazon, Barnes & Noble,
and other booksellers.
The source code for each excercise is available online, and for a detailed explanation, please consult the book.
Check the errata page for the latest updates and corrections.
The examples below cover the following: