Just wanted to add to this as the initial expression doesn’t have an amplitude which you can adjust.
n = 0;
if (numKeys > 0){
n = nearestKey(time).index;
if(key(n).time > time) n--;
}
if (n > 0){
p0 = thisProperty.points(key(n).time - thisComp.frameDuration/10);
p1 = thisProperty.points(key(n).time);
p = [];
pCur = thisProperty.points();
t = time - key(n).time;
freq = 3.0;
decay = 5.0;
amplitude = 0.08
m = (amplitude * Math.sin(freq*t*2*Math.PI))/Math.exp(decay*t);
for (i = 0; i < p0.length; i++){
v = (p1[i] - p0[i])*10*m;
p.push(pCur[i] + v);
}
createPath(p,thisProperty.inTangents(),thisProperty.outTangents(),thisProperty.isClosed());
}else
value
added an amplitude to this