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
| // Alternating Outputs - Created by Animoplex: www.animoplex.com | |
| // Output changes between "Off" and "On" (or any output of your choice) every 10 frames | |
| f = 10; // frame interval | |
| int = framesToTime(f); | |
| num = Math.floor( time / int ); | |
| if (( num % 2 ) == 0 ) { | |
| "Off" // default output | |
| } else { | |
| "On" // alternate output |
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
| // Z Offset Using Radius - Created by Animoplex: www.animoplex.com | |
| // First line is the source of the offset, apply to position value on a grid of shapes | |
| tar = thisComp.layer("TARGET").toWorld([0,0,0]); | |
| rad = 100; // radius | |
| mov = 500; // pixels of movement | |
| dis = length(tar, toWorld([0,0,0])); | |
| end = [value[0], value[1], value[2] + mov]; | |
| ease(dis, 0, rad, end, value) |
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
| // Wiggle Expression | |
| wiggle(2, 20) | |
| // Frequency: 2, Amplitude: 20 |
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
| // Steadicam Wiggle | |
| wiggle(1, 10, 2, 0.25) | |
| // Frequency: 1, Amplitude: 10, Octaves: 2, Intensity: 0.25 |
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
| // Time Expression | |
| time * 10 | |
| // Output increases by 10 every second |
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
| // Posterize Time | |
| posterizeTime(12); value | |
| // Interpolates property at 12 fps regardless of composition frame rate |
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
| // Value Expression | |
| value / 2 | |
| // Current property value divided by 2 |
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
| // Value At Time | |
| thisComp.layer(index - 1).transform.scale.valueAtTime(time - 2) | |
| // Output Scale of layer above, delayed in time by 2 seconds |
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
| // Linear & Ease Expressions | |
| linear(time, outPoint - 2, outPoint, 100, 0) | |
| ease(transform.opacity, 0, 100, 25, 75) | |
| // Linear fade from 100 to 0 for the last 2 seconds of a layer’s duration | |
| // Ease from 25 to 75 as the Opacity input animates from 0 to 100 |
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
| // Linear Counterbalance | |
| s = thisComp.layer("Control").effect("Slider Control")("Slider"); | |
| a = transform.position; | |
| b = thisComp.layer("Null").toWorld([0,0,0]); | |
| linear(s, 0, 100, a, b) | |
| // Adjust a Slider Control (from 0 to 100) to balance between two values (a and b) |