wiggle(freq, amp, octaves=1, amp_mult=.5, t=time) *** FEEL FREE TO TOTALLY IGNORE the 3rd, 4th and 5th parameters. *** *** Just think of wiggle as wiggle(freq, amp). *** wiggle(freq, amp, octaves=1, amp_mult=.5, t=time) Return type: Number or Array. <--- *** IGNORE THIS, PLEASE! At least until April! *** Argument type: freq, amp, octaves, amp_mult, and t are Numbers. Randomly shakes (wiggles) the value of the property. Shake, rattle and roll! :-) freq value is the frequency in wiggles per second. amp value is the amplitude in units of the property to which it is applied. octaves is the number of octaves of noise to add together. This value controls how much detail is in the wiggle. Make this value higher than the default of 1 to include higher frequencies or lower to include amplitude harmonics in the wiggle. amp_mult is the amount that amp is multiplied by for each octave. This value controls how fast the harmonics drop off. The default is 0.5; make it closer to 1 to have the harmonics added at the same amplitude as the base frequency, or closer to 0 to add in less detail. t is the base start time. This value defaults to the current time. Use this parameter if you want the output to be a wiggle of the property value sampled at a different time. Example: position.wiggle(5, 20, 3, .5) - note that -> position.wiggle(5, 20) would be enough! produces about 5 wiggles per second with an average size of about 20 pixels. In addition to the main wiggle, two more levels of detailed wiggles occur with a frequency of 10 and 20 wiggles per second, and sizes of 10 and 5 pixels, respectively. FEEL FREE TO TOTALLY IGNORE the 3rd, 4th and 5th parameters. Just think of wiggle as wiggle(freq, amp). wiggle(.2, 35) was all we used and all we needed. The .2 means wiggle once every 5 seconds. The 35 means to wiggle as much as -35 away from the DIRECTION to as much as 35 away, which meant the smoke would be blowing in the wind as much as 35 degrees to the left to as much as 35 degrees to the right. If we changed the paramters to 3 and 90 for the Direction of the Cannon that was shooting out smoke effect from the chimney, it would be pretty funny to see. wiggle(3, 90) means the smoke might wiggle to almost parallel to the ground as if the wind was blowing VERY HARD, and then wiggle back in the totally opposite direction, and it would change directions 3 times per second!