Created
September 23, 2019 11:15
-
-
Save Volorf/06a72f907a9921df1d97a4d83d1cff91 to your computer and use it in GitHub Desktop.
Looping wiggle() for After Effects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Source — https://www.motionscript.com/design-guide/looping-wiggle.html | |
freq = 1; | |
amp = 100; | |
loopTime = 3; // Set loop time for 3 sec. | |
t = time % loopTime; | |
wiggle1 = wiggle(freq, amp, 1, 0.5, t); | |
wiggle2 = wiggle(freq, amp, 1, 0.5, t - loopTime); | |
linear(t, 0, loopTime, wiggle1, wiggle2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment