Created
September 9, 2022 23:33
-
-
Save chrispiciullo/8228eeb197d05b099b3318cb74a2ff98 to your computer and use it in GitHub Desktop.
This file contains 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
freq = 0.5; //frequency - how often the "wiggles" happen | |
amp = 50; //amplitude - how large the "wiggles" are | |
loopTime = 3; //time in secs - length of time the comp is for the wiggle to loop | |
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