Apply to a Position property. Unlike the built-in wiggle(), this expression lets you set different amplitude and frequency for X and Y axes independently.
1. Select the Position property
2. Alt/Option-click the stopwatch
3. Paste this expression
4. Adjust ampX, freqX, ampY, freqY to control each axis separately
The standard wiggle() function uses the same settings for both axes. This expression gives you independent control ā so you can have gentle horizontal drift with fast vertical jitter, or any other combination.
Great for organic floating motion, subtle handheld camera shake, or any effect where X and Y movement should feel different.
- 1.Use different frequencies for X and Y to create organic, non-repetitive motion
- 2.Higher amplitude = larger movement range, higher frequency = faster oscillation
- 3.Change the seed value to offset the wave phase ā useful when duplicating layers
- 4.For smooth floating motion, try low frequencies (1ā2) with moderate amplitude (30ā50)