O'Reilly logo

Foundation HTML5 Canvas by Rob Hawkes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Implementing Advanced Animation

In this chapter, you're going to take your animation to the next level by introducing physics. You're going to learn all there is to know about the concepts involved in realistic motion, and you'll find out exactly how to apply those concepts in JavaScript. Toward the end of the chapter, you'll explore the theory behind collision detection between objects, and how to cause objects to bounce off of each other.

This is the last chapter before you start making games. It's going to be a tough one, but I';m confident that you'll enjoy it; after all, the results will be incredibly impressive!

Introduction to physics

If you're anything like me, when you hear the word "physics" you instantly think of those tedious ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required