Last active
August 29, 2015 14:17
-
-
Save steveostudios/f666d0a12b86b0208002 to your computer and use it in GitHub Desktop.
After Effect Expression for swinging objects.
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
/* | |
* Swinging Text | |
* apply on parameters that you want to swing (i.e. x-rotation) | |
* credit: Dan Ebberts | |
*/ | |
veloc = 7; | |
amplitude = 90 | |
decay = .7; | |
t = time - inPoint; | |
amplitude*Math.cos(veloc*t)/Math.exp(decay*t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment