Chapter 12. PARTICLE ATTRACTION AND GRAVITY

What we'll cover in this chapter:

  • Particles

  • Gravity

  • Springs

  • Important formulas in this chapter

I'm pretty happy with how the progression of these chapters has turned out. Each chapter adds a new concept that generally seems to progress in terms of interaction. At first, you just had things moving around. Then things started interacting with the environment, then the user, and then each other through collisions. In this chapter, I'll expand on the ways objects interact with each other, particularly from a distance. Specifically, I'll cover particles, gravity (a little differently this time), springs (again!), and the world-famous Node Garden. Let's dive right in!

Particles

I guess I should define what I mean ...

Get Foundation ActionScript 3.0 Animation: Making Things Move! 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.