Last active
February 2, 2021 08:42
-
-
Save Arslan-TR/4d898f37543db64dc1d4d46ce5a23827 to your computer and use it in GitHub Desktop.
Spin expression after effects (rotate at a constant speed without keyframes)
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
// Spin (rotate at a constant speed without keyframes): | |
veloc = 360; //speed (degrees per second) u can adjut the velocity value! | |
r = rotation + (time - inPoint) *veloc; | |
[r]; | |
// Throw (move at a constant speed without keyframes): | |
veloc = -20; //speed (pixels per second), change -20 to 20 to invert right/Left direction! | |
x = position[0] + (time - inPoint) *veloc; | |
y = position[1]; | |
[x,y]; //change x,y to y,x to change direction up or down! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment