Hey! I found this and the first expression,
rampStart = 0;
rampEnd = 30;
startVal = [100,100];
maxVal = [105,105];
rampMid = rampStart + (rampEnd – rampStart)/2;
if (time < rampStart || time > rampEnd){
value
}else if (time < rampMid){
ease(time,rampStart,rampMid,startVal, maxVal)
}else{
ease(time,rampMid,rampEnd,maxVal,startVal)
}
Works for what I need, i just need to make it happen faster. How do I do this?