ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Random Position/Scale Expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ryan Kehn
Random Position/Scale Expression
on Jan 31, 2009 at 7:07:09 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


Return to posts index

Dan Ebberts
Re: Random Position/Scale Expression
on Jan 31, 2009 at 9:00:21 pm

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


Dan



Return to posts index

Ryan Kehn
Re: Random Position/Scale Expression
on Jan 31, 2009 at 9:29:25 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.





Return to posts index


Elad Menashe
Re: Random Position/Scale Expression
on Feb 3, 2009 at 12:06:28 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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]