New to this forum and it looks really good. Will be glad of any help you wise ones can give.
I am looking for an expression as I need an oak leaf to drift from the top of the composition and gently stop in the middle so I can bring a logo up next to it.
Any ideas? I have an expression for this which you can see here. However I can find no way of making the leaf stop gently mid screen.
Any help would be gratefully received!!
yVelocity = 200; //pixels per second
oscFreq = 1.5; //oscillations per second
oscDepth = 35; //oscillation depth (pixels)
drift = 25; // drift (wind?) (pixels per second: - = left, + = right)
value + [oscDepth*Math.sin(oscFreq*Math.PI*2*time) + drift *time,
oscFreq = 1.5;
maxTilt = 15; //degrees