The new thing that i tried was using expressions for the first time to animate the clock seen in the composite. For those of you who wanna know (i dunno if this is the right forum to post it) here is how i did it:
Create black solid.
Precompose it (not necessarily, but its neat). Open the precomposed comp.
Create a Text layer.
Alt + Click the Source Text option’s stopwatch and enter the following code:
var sec = Math.floor(time);
// Mod sec by 60 else it will keep counting.
var secM = Math.floor(sec % 60);
// Function to get a double digit for numbers less than 10
function appendZeros(Number)
{
var finNum;
if(Number < 10)
{
finNum = "0" + Number;
}
else
{
finNum = Number;
}
return finNum;
}
// Replace "14" as per your choice
"14" + ":" + appendZeros(secM)
Done.
Here is the link to the composited video:
http://www.youtube.com/watch?v=nTepL1ihqEU
Until next time…
Post a Comment