Forums › Adobe After Effects › how to add a interval timer in the after effect
how to add a interval timer in the after effect
winnie choy
November 25, 2019 at 6:03 amhi guys, i am planning to make my own full length workout videos, and i want to make an interval timer(for example:30 seconds on.10 seconds off), but the tutorials that i find in youtube of how to make a countdown timer is only about making one timer but not interval timer.
do you guys know how to make it? and can i save it after making one and so i can use it in my other workout video
thanks for your helping, it really means a lots
Max Haller
December 2, 2019 at 9:16 pmThe simplest way i can think to do this is to make a text layer which will be the timer text. And a Null layer which will have a Slider Control effect added to it. Then Copy and paste this expression into the source text property of the timer text layer:
Math.floor(thisComp.layer("Null 1").effect("Slider Control")("Slider"))
Then it’s as easy as animating the slider to whatever values you want to display. So make a keyframe with the slider at 30 at frame 0, and then 30 seconds later keyframe the slider to have a value of 0. This will have the text count down from 30-0 over 30 seconds. then 10 seconds later you can just set another keyframe for the slider with a value of 10, and the text will count back up from 0 to 10 over ten seconds.
If you want the slider to display”00:30″ instead of just “30”, the easiest way is to just make another text layer that contains”00:” and place it in front of the text that you’re animating with the slider.
And yes you can reuse that over and over in your future videos. If you want them all to display the same intervals you can just render out that comp with alpha and use it as a video layer that you’d place over future videos.
Julien Schickel
December 5, 2019 at 12:52 amI agree with Max Haller, only I think it would be easier to add the 00: in the expression than adding another layer.
That would make the expression goes like this:
“00: “+ Math.floor(thisComp.layer(“Null 1”).effect(“Slider Control”)(“Slider”))
Julien Schickel
Editor & motion designer
https://www.youtube.com/channel/UC7_NVR3JLdhEYDlEQuNFfug
Log in to reply.