-
random duration of a holdTime
I’m using an number odometer built . The count of this odometer is driven by a angle controller using with the expression below. I want the numbers to tick up more naturally. I’m using the expression below. I’d like to have a hold time duration be more random between .1 and .5. Any help would be much appreciated.
easeTime = .2;
holdTime =.5;
amt = 36;
period = easeTime+holdTime;
t = time - inPoint;
seg = Math.floor(t/period);
p = t%period;
seg*amt + ease(p,0,easeTime,0,amt)