-
Decaying Falling Leaf
Hi all,
I’ve been going through the posts and others on different forums for an expression that will do the following.
I am trying to animate a single falling leaf. The idea is that it would fall slowly (almost like floating) rocking side to said, but the rocking eases to a full stop when the leaf hits the floor – which about half way down the screen.
I’ve seen these two expression either here or on another forum. One is for a floating fall, the other for a pendulum. I’m thinking what i need is something that mixes the two:
Position
sp=1;
amp=200;
gravity = 10;
x = Math.sin(time*sp)*amp;
y= time*time*gravity;
value + [x,y];Rotation
sp=1;
amp=5;
x = Math.sin(time*sp)*amp;
value - x;Here is a pendulum effect:
veloc = 7;
amplitude = 80;
decay = .7;amplitude*Math.sin(veloc*time)/Math.exp(decay*time)