Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expression ?

  • Mike Clasby

    December 22, 2005 at 8:18 pm

    That’s a clever little expression. I don’t really know how to write expressions, but through trial and error you can change expressions, by multiplying or dividing (or adding to and subtracting from) parts of the expression.

    To open the expression, select the layer (camera), and type “ee” quickly. You’ll see the expression appear. Double click it to open it for editing. Now with the cursor you can change things.

    [Math.sin(time)*507,120,Math.cos(time)*507]

    make the 507’s smaller, and the camera moves closer, larger and its farther away.

    Changing the 120,changes the angle the camera sees the audio cube from.

    By multiplying (*5) or dividing the time (/5), changes the speed the camera rotates around.

    [Math.sin(time*5)*507,120,Math.cos(time*5)*507] speeds it up 5 times.

    [Math.sin(time/5)*507,120,Math.cos(time/5)*507] slows it down by a factor of 5.

    Change things and see what happens on the screen. “Ctrl Z” to undo any unwanted changes and get back to the original. If you make the expression unusable AE will tell you.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy