Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Basic Pos/Neg Easing Formulas?

  • Basic Pos/Neg Easing Formulas?

    Posted by Max Jackson on October 26, 2012 at 4:22 am

    I’ve been trying to adapt different theories and I’m brand new to OOP functions in an After Effects framework, so while I could write something in like general Actionscript to create a vibration that starts out 1, -1, 2, -2, 3, -3 etc I don’t know how that translates into AE’s Javascript environment.

    Dan Ebberts gave me a great page to look at. I also found a great earthquake tutorial. The thing is so many people use Wiggle. I’m sure it’s great but I’m trying to simply expand a waveform over time and attach it to a property.

    I’m trying to build a steady pos/neg ramping effect for a y-axis for my earthquake effect. I’m sure I could include a multiplier and a random effect or something, but the basic structure escapes me.

    Is there a page that has very basic nuts and bolts formulas for creating increasing pos/neg, sin, cos, stuff that’s like…basic basic

    Trying to create an even expanding vibration, heh, without wiggle. Hehe.

    Thanks for any suggestions, you guys have been AWESOME! 🙂

    Max Jackson replied 13 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    October 26, 2012 at 6:02 am

    You might want to look at the JavaScript Math object functions.

    Play around with this:

    freq = 5;
    Math.sin(freq*time*Math.PI*2)*time*10

    Dan

  • Max Jackson

    October 26, 2012 at 6:07 am

    Okay cool. That was just was I was looking for. Some basic syntax showing me a little rope to get started. I just want to see that motion editor go up or down in a steady wave. I can always add randomization or increments up or down, but if I don’t know how to spell it out, the formulas look kind of confusing.

    I’ll check out your suggestion to investigate the Math object functions portion of the library too.

    Thanks Dan! 🙂

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