Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Random Position/Scale Expression

  • Random Position/Scale Expression

    Posted by Ryan Kehn on January 31, 2009 at 7:07 pm

    I’m trying to mimic and effect I’ve seen quite a bit (although I don’t have an example to share) where text jumps around the screen randomly from a home location. I’ve messed with random and wiggle expressions, but I don’t want to see the text move in between the points, just instantaneously skip around, but still come back to it’s original point. Anyone have any suggestion?

    thanks,
    Ryan

    Elad Menashe replied 17 years, 3 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    January 31, 2009 at 9:00 pm

    What do you mean by “come back to its original point”? When? How often?

    Dan

  • Ryan Kehn

    January 31, 2009 at 9:29 pm
    probability = 5
    r = Math.round(random(-probability +2, 1));
    v = clamp(r, 0, 1);
    s = wiggle(3, 400*v)

    Hey Dan,

    Sorry i didn’t do a very good job of explaining that…

    The expression i’m using as a base is below, but basically, I’m looking for the object to jump abruptly to a random position and hold it for a few frames before returning to the original position it was placed at. Does that make any more sense? the expression below acheives the look, i just want it to hold the position it jumps to for a few frames and snap back without seeing the transition in between.

  • Elad Menashe

    February 3, 2009 at 12:06 pm

    Although it is possible to solve this with expression it would be better to use AE text animators with a wiggly selector.
    You can set the parameters to move the whole text at once.
    Let me know if you need extra help with that.

    Regards
    Elad

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