← Back to Expressions
Seamlessly loop a wiggle expression (in seconds)
Loop a Wiggle
How to Use
Apply this expression to any property to get a random wiggle value that loops every n seconds.
frequency = the amount of wiggles per second
amplitude = the amount (pixels, percent) you want the wiggle to vary
secondsToLoop = how many seconds you want the loop to last
About
wiggle(f,a) is one of the most common and useful expressions for adding randomness and variation to properties in After Effects. However, it doesn't loop easily by default.
This expression allows you to create a looping wiggle by cleverly animating between 2 different wiggle expressions.
Credit
Original expression by Dan Ebberts
Get After Effects tips & tricks
delivered to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.