images

Chapter 19

Tips and Tricks

What we'll cover in this chapter:

  • Brownian (random) motion
  • Random distribution
  • Interval- and timer-based animation
  • Collisions between same-mass objects
  • Integrating sound

Well, you made it to the last chapter. This chapter has been set aside for all the little things that didn't really fit in anywhere else. Because these various topics are just random bits and pieces (albeit useful bits), each section is a stand-alone unit.

Brownian (random) motion

One day, a botanist named Robert Brown looked at some grains of pollen in a drop of water and found that they randomly moved around. Even though there was no current or ...

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.