Expression Copied to Clipboard! 🗂
← Back to Expressions

Wiggle Between Two Values - After Effects Expression

Wiggle randomly between two values.

Wiggle Between Two Values

min = -10; // minimum value
max = 50; // maximum value
freq = 5; // wiggles per second
amp = Math.abs(max-min)/2; // amount to wiggle
offset = (max+min)/2;
wiggle(f, a) + offset;

Copied to Clipboard!
min = -10; // minimum value
max = 50; // maximum value
freq = 5; // wiggles per second
amp = Math.abs(max-min)/2; // amount to wiggle
offset = (max+min)/2;
wiggle(f, a) + offset;

Credit