Countdown circle: "Numbers" connected with Text/path: anoying decimals
by tom_berlin
on
May 10, 2007 at 8:48:03 am
I want to make a circulating countdown beginning some trillion years ago till today. I have connected the texttool: "numbers" values with an expression to text with a round path shape.
So far all is fine. Now the problem sets in: text takes the numbers from number tool, but allthough I set fixed 2 decimals it jumps in text between 0 and 3 decimals and becomes very anoying. Does anyone know a solution to my problem?
CORRECTION > Re: Countdown circle: "Numbers" connected with Text/path: anoying decimals by Lord Scales on May 11, 2007 at 6:49:29 pm
Sorry, I forgot the parentheses in 4th line.
D = Math.exp (time);
mult = 1; //multiplier of D
years = 8000000000000;
Math.round(years/(D*mult))
I created another one also (the "transformation" will be faster in the middle and slower in the end):
D = Math.exp (time);
mult = easeIn (time, 5, 10, 1, 400000000); //multiplier of D, will change between 1-400000000 in an Ease In interpolation
as time changes from 5-10
years = 8000000000000;
Math.floor(years/(D*mult))