// Another bouncing effect.
//Atomic - aenhancers.com
maxDev = 122.20; // max deviation in pixels
spd = 8; //speed of oscillation
decay = 1.0; //how fast it slows down
t = time - inPoint;
x = position[0];
y = position[1];
//Apply v to the axis you want to modulate.
v = position[0] + maxDev*Math.sin(spd*t)/Math.exp(decay*t);
//y = position[0]*position[1]/v;
[v,y]