
With the Loop Wiggle expression, you can create a seamless loop for a wiggle expression in seconds. It’s helpful for adding controlled, repeating wiggling movements to your animations.
frequency = 2; // wiggles per second
amplitude = 40; // amount of pixels to wiggle
secondsToLoop = 2; // time to loop in seconds
// ——–
amplitude = 40; // amount of pixels to wiggle
secondsToLoop = 2; // time to loop in seconds
// ——–
