Almost Done )))
The Code is for a random movement with random time but I think it is easy to implement it to the scale.
Thanks Dan for start expression !!
segMin = .1; //minimum segment duration
segMax = 2; //maximum segment duration
nPF=[200,0];// 200 coz we need to start from place
end = 0;// growing with every cycle
j = 0;
while ( time >= end){
seedRandom(j,true);// delete jumping while random updating
j += random(1,30);
nP=nPF;
nPF=[200,0+j]; // only j gives effect
start = end; //set start for ease but next will add value to end so we going with steps
end += random(segMin,segMax);
}
//seedRandom(j-50,true);
//dummy=random(); //this is a throw-away value
ease(time,start,end,nP,nPF) // ease(time,start,end-2,nP,nPF)