Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions AE Expression, hovering a balloon.

  • AE Expression, hovering a balloon.

    Posted by Freek Jansen on April 19, 2008 at 11:55 am

    I’m very new to aftereffects, and just found out about expressions. I’m trying to make one to hover a balloon up and down, a looping animation. Can somebody please help me with this? thanks in advance,

    -Freek Jansen

    Kate Koyama replied 14 years ago 3 Members · 3 Replies
  • 3 Replies
  • Kevin Camp

    April 25, 2008 at 4:07 pm

    using a combinations of the these two expressions, looping wiggle() and wiggle one dimension only, from dan ebbert’s motionscript.com, i came up with this:

    freq = .5;
    amp = 100;
    loopTime = 10;
    t = time % loopTime;
    wiggle1 = wiggle(freq, amp, 1, 0.5, t);
    wiggle2 = wiggle(freq, amp, 1, 0.5, t – loopTime);
    w = linear(t, 0, loopTime, wiggle1, wiggle2);
    [(value[0]+(w[0]*.2)), w[1]]

    i kept just a little x movement, it made it seem more natural. but if you wanted only y movement, change the last line to this:

    [(value[0], w[1]]

    modify the values for freq, amp and looptime to suit…

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Kate Koyama

    April 26, 2012 at 6:30 pm

    Kevin, I have a ballon (solid) and a line… do I need to first apply wiggle-position then enter the expression above?

  • Kate Koyama

    April 26, 2012 at 6:32 pm

    oh nevermind I pasted the expression on position and it looks great! thanks!!!!

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