Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Wiggle with intervals expression ?

  • Wiggle with intervals expression ?

    Posted by David Chabashvili on April 27, 2013 at 11:54 am

    Hi guys,

    Im trying to animate the ECG line (with Particular), and im using wiggle on Y possition while particle constantly moves on X from left to right. The problem is, that I want to have the wiggle to turn on after specific periods of time, and then shut off again, and so on. For instance, it takes for a particle line to get from one side to another 4 seconds, I want to have the wiggle affect on Y position (this Y position wiggle is on separate slider control) to start every 1 second for for the duration 0.5 seconds, and so on. These intervals and durations are arbitrary.

    Is there an expression that lets me do that? Thank you in advance for your assistance.

    David Chabashvili replied 13 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    April 27, 2013 at 2:30 pm

    Something like this maybe:

    amp = 100;
    freq = 4;
    spacing = 1;
    dur = .5;
    attack = .1

    w = wiggle(freq,amp);
    t = time%spacing;
    if (t < attack)
    linear(t,0,attack,0,w)
    else
    linear(t,attack,dur,w,0)

    Dan

  • David Chabashvili

    April 29, 2013 at 7:03 am

    Dan, Thank you very much!

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