Odometer After Effects Tutorial



http://www.hellerstudios.net

Websites:
http://library.creativecow.net/articles/rabinowitz_aharon/Odometer_1.php
http://ae.tutsplus.com/tutorials/motion-graphics/stylize-a-simple-3d-odometer-in-a-few-minutes/
http://allbetsareoff.com/tutorials/creating-an-automated-odometer-part-2/
http://hellerstudios.net/

Quick tutorial to discuss how to create an odometer inside of After Effects.

Expressions Used:

// thousands
slider = thisComp.layer(“Null 1″).effect(“Slider Control”)(“Slider”);
myDigit = Math.floor(slider/1000)%10;
previous = slider%1000/1000;
myVal = myDigit + linear(previous,.999,1.0,0,1);
y = linear(myVal,0,10,1500,0);
x = value[0];
[x,y]

// hundreds
slider = thisComp.layer(“Null 1″).effect(“Slider Control”)(“Slider”);
myDigit = Math.floor(slider/100)%10;
previous = slider%100/100;
myVal = myDigit + linear(previous,.99,1.0,0,1);
y = linear(myVal,0,10,1500,0);
x = value[0];
[x,y]

// tens
slider = thisComp.layer(“Null 1″).effect(“Slider Control”)(“Slider”);
myDigit = Math.floor(slider/10)%10;
previous = slider%10/10;
myVal = myDigit + linear(previous,.9,1.0,0,1);
y = linear(myVal,0,10,1500,0);
x = value[0];
[x,y]

// ones
slider = thisComp.layer(“Null 1″).effect(“Slider Control”)(“Slider”);
myVal = slider%10;
y = linear(myVal,0,10,1500,0);
x = value[0];
[x,y]

Null Expression:

comp(“Master”).layer(“Null 1l”).effect(“Slider Control”)(“Slider”)

Just copy and paste into your respective place holder (thousands, hundreds etc.)

Duration: 00:10:43

Likes: 285 – Views: 92422

source