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
// 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 |
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
// Loop Expression - Created by Animoplex: www.animoplex.com | |
// Basic loop expressions for use on a property in After Effects. | |
// Full Tutorial: https://www.youtube.com/watch?v=XRrs9pvWGuY | |
// Loop Examples | |
loopOut("cycle", 0) // Repeat from start to finish. Default loop mode. | |
loopOut("pingpong", 2) // Loops last three keyframes back and forth. | |
loopOut("offset", 0) // Repeats animation using last keyframe as new start point. | |
loopOut("continue") // Does not loop, but continues onwards with current velocity. |
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
// Linear & Ease Expression - Created by Animoplex: www.animoplex.com | |
// Basic linear and ease expressions for use on a property in After Effects. | |
// Full Tutorial: https://www.youtube.com/watch?v=TFXgX0IiamQ | |
// Linear Example | |
linear(time - inPoint, 0, 100) | |
// Ease Example | |
ease(time - 5, 100, 0) |
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
// Value Expression - Created by Animoplex: www.animoplex.com | |
// A basic value expression for use on a property in After Effects. | |
// Full Tutorial: https://www.youtube.com/watch?v=6TKEcTHdGK8 | |
// Value Example | |
value / 2 | |
// Value At Time Example | |
valueAtTime(2) |
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
// Time Expression - Created by Animoplex: www.animoplex.com | |
// A basic time expression for use on a property in After Effects. | |
// Full Tutorial: https://www.youtube.com/watch?v=YLapbNyYxLs | |
// Time Example | |
time * 10 | |
// Time + Wiggle Example | |
wiggle(5, time) |
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
// Wiggle Expression - Created by Animoplex: www.animoplex.com | |
// A basic wiggle expression for use on a property in After Effects. | |
// Full Tutorial: https://www.youtube.com/watch?v=AmmXDOFMjz8 | |
// Wiggle Example | |
wiggle(2, 20) | |
// Steadicam Wiggle Example | |
wiggle(1, 10, 2, 0.25) |
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
// Speed & Velocity - Created by Animoplex: www.animoplex.com | |
// A couple of examples of speed and velocity formatting. | |
// Full Tutorial: https://www.youtube.com/watch?v=47OWQmcez9M | |
// Speed | |
transform.position.speed | |
// Velocity | |
transform.position.velocity |
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
// JavaScript Math Methods - Created by Animoplex: www.animoplex.com | |
// List of math methods for After Effects expressions and what they output. | |
// 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 |
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
// After Effects String Methods - Created by Animoplex: www.animoplex.com | |
// List of compatible string methods in After Effects expressions and what they do. | |
// Full Tutorial: https://www.youtube.com/watch?v=l7Xd8mkqWfc&t=268s | |
// Outputs 2 characters, starting after the first character. | |
myString.substr(1, 2) | |
// Outputs everything after the first character, through the second character. | |
myString.substring() |
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
// After Effects Array Methods - Created by Animoplex: www.animoplex.com | |
// List of compatible array methods in After Effects expressions and what they do. | |
// Full Tutorial: https://www.youtube.com/watch?v=l7Xd8mkqWfc&t=268s | |
// Output an array as a string separated with the argument's contents. | |
myArray.join(", ") | |
// Outputs a string with elements separated by commas. | |
myArray.toString() |