Last active
December 10, 2018 20:51
-
-
Save ghanbak/6277360129246770b99f32ddd1d67abc to your computer and use it in GitHub Desktop.
After Effects Code, Tips, and Tricks
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
rateOfSpeed=1; | |
clockStartTime=thisComp.layer("Timer Duration").effect("Slider Control")("Slider")*60; | |
clockTimeNumber=Math.floor(clockStartTime - rateOfSpeed*time); | |
minutes=Math.floor(clockTimeNumber/60); | |
seconds=clockTimeNumber%60; | |
minutes+":"+seconds; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment