Created
September 4, 2018 02:13
-
-
Save animoplex/837eb6febf7eb7898de5564b5571a19b to your computer and use it in GitHub Desktop.
Math Methods - After Effects Expression by Animoplex
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
| // Math Methods - Created by Animoplex: www.animoplex.com | |
| // Use these methods to manipulate properties and numerical values in After Effects. | |
| // Full Tutorial: https://www.youtube.com/watch?v=aIxnJBOhdBw | |
| // Math Method Examples | |
| // Note: You must capitalize the M in Math for these methods to work properly. | |
| Math.abs(-2) // Returns 2 | |
| Math.ceil(1.01) // Returns 2 | |
| Math.floor(1.99) // Returns 1 | |
| Math.min(1, 2, 3) // Returns 1 | |
| Math.max(1, 2, 3) // Returns 3 | |
| Math.round(1.49) // Returns 1 | |
| Math.PI // Returns 3.141592 and so on. Useful for circles! | |
| Math.sin() Math.cos() Math.tan() // Trigonometry functions! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment