Creating a Countdown Timer Using Expressions in Adobe After Effects
Making a countdown timer using expressions in After Effects gives you more control. In this short tutorial video, I’ll show you how to create a timer using a slider control and an expression on a text layer.
Below is the expression text I used in the video:
slider = effect(“Slider Control”)(“Slider”);
sec = Math.floor(slider%60);
min = Math.floor(slider/60);
function zero(x) {
if (x<10) return “0” + x
else return x;
}
zero(min) + “:” + zero(sec)
Responses