Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
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!