-
random movement with pause after every move
Hello
I would like to use random pos. expression for the movement.
But instead of continuous movement id like to wait certain time to wait after each movement.
I found this beautiful script, but cant figure out how to add there wait after each move:
segMin = .3; //minimum segment duration segMax = .7; //maximum segment duration minVal = [0.1*thisComp.width, 0.1*thisComp.height]; maxVal = [0.9*thisComp.width, 0.9*thisComp.height]; seedRandom(index,true); segDur = random(segMin, segMax); 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);thanks for help