-
Money counter w/ a non-liner counting progression
I am using Dan’s elegant expression to countdown currency (I added the dollar sign down there between the two quotes — (I’m guessing that’s why you put the quotes there, Dan? — anyway it workes great.)
Anyway, my question is there a way to slow the countdown down as it gets into the lower digits? Right now it is a linear progression based on time and duration — so when I’m counting down from 1,000.000 when it gets to $10,000 it just basically clicks to $0.00… I’d like an easy-ease type slow down that I can control somehow…
YOU GUYS ROCK ON THIS FORUM, by the way!!
startValue = 7000;
endValue = 13000;
dur = 30; //secondss = “” + Math.round(linear(time,0,dur,startValue,endValue));
s.substr(0,s.length-3) + “,” + s.substr(-3,3)Jim Dodson
8 Core Intel — Mac – OSX