-
synchronized random y scale with Easing and holdTime
I’m using Dan’s “random motion – synchronized” expression on a slider which I then pick whip to my y scale value. I’m hoping that there is a simple way to add a holdtime to it. But I cannot figure it out.
segDur = .5;
minVal = [10];
maxVal = [100];seed = Math.floor(time/segDur);
segStart = seed*segDur;
seedRandom(seed,true);
startVal = random(minVal,maxVal);
seedRandom(seed+1,true);
endVal = random(minVal,maxVal);
ease(time,segStart,segStart + segDur, startVal, endVal);