

The After Effects implementation of expressions has a wonderful built-in random motion generator - the wiggle() method. For a lot of applications, wiggle() provides all the randomness you will need. It's similar in concept to the wiggler keyframe assistant but you use wiggle() inside an expression.


wiggle() takes five parameters, but for our purposes, we're only going to use the first two. The first parameter is frequency (in wiggles per second) and the second parameter is amplitude (in the units of the property being wiggled). If you're wiggling a Position property, for example, amplitude is in pixels.
