Chapter 9

Physical Simulations

With Expressions, you can easily animate bounces, jiggles, and bumps. In this chapter, that’s just what we’ll be doing. Most of the Expressions here build on concepts I’ve already explained, such as sine and cosine. I won’t repeat those explanations here. Rather, I’ll show you how to set up the Expressions, note key details, and suggest a few variations you can try.

In the following Expressions, I’ll list variables at the top, followed by a double space, followed by code that uses the variables. The top variables are for you to play with. Please have fun changing their values, previewing, and watching how your new values alter the way the Expressions work.

Note: In some cases, I’ve converted the Expressions to ...

Get After Effects Expressions 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.