Created
February 28, 2019 15:03
-
-
Save animoplex/3da1a03101a56d1d17240ce047376168 to your computer and use it in GitHub Desktop.
Alternating Outputs - 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
// 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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment