I have this, it’s your expression as usual
Want edit it for position , come from out of comp and land with bounce then go out with bounce as well.
rate = 500;
rampDur = value[0]/rate;
freq = 3;
decay = 5;
w = freq*Math.PI*2;
if (time < (inPoint+outPoint)/2){
if (time < (inPoint + rampDur)){
s = linear(time,inPoint,inPoint+rampDur,0,value[0]);
}else{
t = time – (inPoint+rampDur);
s = value[0] + rate*Math.sin(t*w)/Math.exp(t*decay)/w;
}
}else{
if (time > (outPoint – rampDur)){
s = linear(time,outPoint-rampDur,outPoint,value[0],0);
}else{
t = (outPoint – rampDur) – time;
s = value[0] + rate*Math.sin(t*w)/Math.exp(t*decay)/w;
}
}
[s,s]