ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

How to create a 15-minute countdown in After Effects?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Thomas ReimerHow to create a 15-minute countdown in After Effects?
by on Jul 6, 2015 at 6:37:40 pm

Hi there,

I'm fairly new to after effects, and I can't seem to find a tutorial online to help me create a 15 minute countdown timer in after effects. Any help would be appreciated.

Thanks!

Thomas


Return to posts index


John CuevasRe: How to create a 15-minute countdown in After Effects?
by on Jul 6, 2015 at 8:16:08 pm
Last Edited By John Cuevas on Jul 6, 2015 at 8:23:18 pm

I did a search in the expressions forum and found this countdown timer. Just create a comp 15 minute long. Press "cntl+alt+shift+T" to create a text layer. Copy the entire expression written below. Twirl open the text and "alt + click" the source text stop watch to enable expressions, then paste expression below into the box. Lastly, make sure the text is right justified.

rate = -1;
clockStart = 900;

function padZero(n){
if (n < 10) return "0" + n else return "" + n
}

clockTime = Math.max(clockStart + rate*(time - inPoint),0);

t = Math.floor(clockTime);
min = Math.floor((t%3600)/60);
sec = Math.floor(t%60);
min + ":" + padZero(sec)


Johnny Cuevas, Editor
ThinkCK

"I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work."
---THOMAS EDISON on inventing the light bulb.


Return to posts index

Thomas ReimerRe: How to create a 15-minute countdown in After Effects?
by on Jul 7, 2015 at 12:19:50 pm

Thank you so much! I have been searching for this expression but finally have found it. Thanks!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]