Chapter 10
Coordinate Rotation and Bouncing Off Angles
What we'll cover in this chapter:
- Simple coordinate rotation
- Advanced coordinate rotation
- Bouncing off an angle
This chapter covers a technique known as coordinate rotation, which as its name implies, involves rotating a coordinate around a point. While useful all by itself, coordinate rotation is indispensable for several very interesting effects, including how to bounce something off an angled surface. We'll cover how to do that in this chapter.
Coordinate rotation is also useful for calculating the reactions of two objects that bounce off each other. You'll see how to do that in the ...
Get Foundation HTML5 Animation with JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.