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 of the book examples is available online. For a detailed explanation of each exercise, or if you find these listings helpful and would like to support our work, please consider buying the book. The errata page contains the latest updates and corrections.
And if you enjoy the book, please spread the word and write a review.
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.
What you'll have fun learning:One of the great things about this book is that many of the concepts apply not only to JavaScript, but to computer animation in general. All you need is support for a drawing surface and a few simple commands, and you can apply these ideas using whatever programming language you want! And if you do, please send me a message and I'll list it here.