Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression for Wiggle only horizontal & uneven

  • Expression for Wiggle only horizontal & uneven

    Posted by Areful Eeslam on May 26, 2012 at 11:46 am

    HI, i was wondering what would be the expression for wiggling only horizontal perspective. Imagine a camera is panning or shaking left & right very fast to create a dramatic effect but not like earthquake and the velocity is uneven but smooth.

    Hope someone can help.

    Regards

    Areful Eeslam replied 14 years, 2 months ago 2 Members · 8 Replies
  • 8 Replies
  • Dan Ebberts

    May 26, 2012 at 6:18 pm

    Have you tried something like this:

    amp = 15;
    freq = 1;
    w = wiggle(freq,amp);
    [w[0],value[1],value[2]]

    Dan

  • Areful Eeslam

    May 26, 2012 at 6:55 pm

    Hi, thanks for reply. But the expression doesn’t work.

    Giving the following error!

    Please let me know if im doing anything wrong.

    Regards

  • Dan Ebberts

    May 26, 2012 at 6:58 pm

    Sorry, I thought you were going to apply it to a camera or a 3D layer. Try it this way:

    amp = 15;
    freq = 1;
    w = wiggle(freq,amp);
    [w[0],value[1]]

    Dan

  • Areful Eeslam

    May 27, 2012 at 7:52 pm

    Thanks for the reply once again. It’s works but it’s very slow, how do i increase the speed to make it very faster like earthquake but not exactly like earthquake if u know what i mean.

    Regards

  • Areful Eeslam

    May 27, 2012 at 7:57 pm

    Please dont bother i got by right by chaining the value.

    amp = 40;
    freq = 10;
    w = wiggle(freq,amp);
    [w[0],value[1]]

    works for me fine.

    Thanks a lot for the help.

  • Areful Eeslam

    May 27, 2012 at 8:07 pm

    Hello again, im stuck with another problem, how do i keyframe the expression values (to increase the value gradually), the expression slider is not working & im sure im doing something wrong. Will you help me out here.

    Regards

  • Dan Ebberts

    May 27, 2012 at 8:52 pm

    Keyframing a slider for amplitude should work fine. Frequency is a different story altogether. Is that what you’re trying to do?

    amp = effect(“Slider Control”)(“Slider”);
    freq = 10;
    w = wiggle(freq,amp);
    [w[0],value[1]]

    Dan

  • Areful Eeslam

    May 28, 2012 at 10:18 am

    No actually i did a silly mistake. I was suppose to pickwhip to slider in the value which is amp = slider, but i accidentally removed the (=) & getting error. It was a minor thing when i made it again from the scratch it worked. Anyways thanks for your help again Dan i really appreciate it.

    Regards
    Areful Eeslam

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