-
add starting point to expression
Hello, I found this very heplful expression by Dan Ebberts, but I don’t know how to make it start at some point of my layers. Any ideas? Thank you
Position
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,
yVelocity*time,0]