Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Uniform Scale Wiggle

  • Uniform Scale Wiggle

  • Adriano Moraes

    July 1, 2008 at 4:04 pm

    Hello there.

    I think it´s a pretty simple thing but I can´t find it anywhere.

    I guess I´ve even done this before but my brain is failing me.

    So what I want to do is simply make a circle´s scale
    wiggle uniformly(x and Y with equal values).

    How do I achieve that?

    Sorry if there are answers allready in the cow, but I could not find it.

    Ok, thanxxx allready and cheers.

    a.ninguem.

  • Dan Ebberts

    July 1, 2008 at 4:39 pm

    Like this:

    w = wiggle(5,30);
    [w[0],w[0]]

    Dan

  • Adriano Moraes

    July 1, 2008 at 5:57 pm

    Thank you Dan!

    I gotta visit Motionscript.com a little more (and deeply) and finally LEARN the stuff.

    Thanx again.

    Cheers.

    a.ninguem.

  • Gon Perdigao

    June 4, 2013 at 8:36 am

    Mr Dan you are a master 🙂 !!!!

  • vincent rogozyk

    November 18, 2013 at 6:56 pm

    Hi Dan,
    Is there a way to make the uniform wiggle loopable?

    Thanks a lot for your help.
    Best Regards,
    Vincent

  • Dan Ebberts

    November 18, 2013 at 7:28 pm

    This should work:

    freq = 1;
    amp = 110;
    loopTime = 3;
    t = time % loopTime;
    w1 = wiggle(freq, amp, 1, 0.5, t)[0];
    w2 = wiggle(freq, amp, 1, 0.5, t – loopTime)[0];
    linear(t, 0, loopTime, [w1,w1], [w2,w2])

    Dan

  • vincent rogozyk

    November 18, 2013 at 7:37 pm

    Thanks a LOT.

  • Mil Malchiodi

    January 29, 2014 at 3:51 pm

    Thanks a lot Dan!

    -MiL-

  • Rod Duarte

    February 23, 2021 at 4:29 pm

    Hey all!
    I’m trying to use this, and I’m getting a syntax error on line 6…

    I’m guessing AE changed something, since this is old?

  • Dan Ebberts

    February 23, 2021 at 4:42 pm

    I think the site redesign text formatting must have substituted a different character for the minus sign in line 6. Try it this way:

    freq = 1;

    amp = 110;

    loopTime = 3;

    t = time % loopTime;

    w1 = wiggle(freq, amp, 1, 0.5, t)[0];

    w2 = wiggle(freq, amp, 1, 0.5, t - loopTime)[0];

    linear(t, 0, loopTime, [w1,w1], [w2,w2])

Viewing 1 - 10 of 10 posts

Log in to reply.

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