Activity › Forums › Adobe After Effects Expressions › Randomize Position Offset
-
Randomize Position Offset
-
Christian Simpson
January 25, 2023 at 12:09 amHey All,
I am trying to randomly offset the position of a layer based on it’s current value without separating it’s X and Y dimensions. Anyone know if this is possible?
I would also like to freeze the random value returned in place. This is what I have so far on the position property and it seems completely wrong. Thanks for any help.seedRandom(index, true)
a = random[value+50,value-50];
b = random[value+50,value-50];
[a,b] -
Dan Ebberts
January 25, 2023 at 12:13 amMaybe like this:
seedRandom(index, true);
offset = random([-50,-50],[50,50]);
value + offset -
Christian Simpson
January 25, 2023 at 12:16 amWorked immediately. I’m not really sure what we’re going to do when you’re no longer around Dan. The world owes you.
Viewing 1 - 3 of 3 posts
Reply to this Discussion! Login or Sign Up
Log in to reply.