Last active
March 20, 2025 09:53
-
-
Save oliviano/1efb6bcec00e59a395ca3a2fbe0bb71a to your computer and use it in GitHub Desktop.
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
## AE EXPRESSION COLLECTION ## | |
#### WIGGLE LOOP #### | |
``` | |
freq = 1; | |
amp = 110; | |
loopTime = 3; | |
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) | |
``` | |
#### WIGGLE LOOP on 1D for 2D params #### | |
Add this line to end of wiggle loop code: | |
``` | |
w = linear(t, 0, loopTime, wiggle1, wiggle2); | |
[w[0], transform.position[1]] | |
``` | |
#### WIGGLE TRANFORM SHAPE #### | |
set wiggles per second to 0\ | |
Temporal Phase: | |
``` | |
wigglesPerSecond = 1.5; | |
loopTime = 3.5; | |
Math.cos(degreesToRadians(360*time/loopTime))*360*wigglesPerSecond + value; | |
``` | |
Spatial Phase: | |
``` | |
wigglesPerSecond = 1.5; | |
loopTime = 3.5; | |
Math.sin(degreesToRadians(360*time/loopTime))*360*wigglesPerSecond + value; | |
``` | |
#### SCROLLING FX #### | |
Offset FX | |
Shift Center To ( create two keyframes ) | |
``` | |
posterizeTime(3); | |
loopOut("continue") | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment