Wiggle Rotation Decay

Applies a randomized wiggle to rotation with a gradual decay.

Code

freq = 2;
ampl = 30;
decay = 1.5;
t = time - inPoint;
wiggleVal = wiggle(freq, ampl);
wiggleVal*(Math.exp(-decay*t))
wigglerotationdecayanimation

How to Use

Assign to the Rotation property. Initially, the layer rotates erratically, but that motion eases off over time due to the exponential decay factor.