O'Reilly logo

Foundation HTML5 Animation with JavaScript by Billy Lamberta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required