ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Wiggle (or is it?) - position - only X!

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
ninguem
Wiggle (or is it?) - position - only X!
on Sep 27, 2006 at 1:56:35 am

Hi there fellows...

...I got myself a problem...I tryed lots of ways, but I guess I


Return to posts index

Mylenium
Re: Wiggle (or is it?) - position - only X!
on Sep 27, 2006 at 5:35:52 am

Please use the search function. Has been discussed a million times with very detailed answers. The last post I found was from last week... ;o)

Mylenium

[Pour Myl


Return to posts index

yikesmikes
Re: Wiggle (or is it?) - position - only X!
on Sep 27, 2006 at 6:01:43 am

Wiggle X Only:

[wiggle(5,30)[0],value[1]]

Wiggle Y Only:

[value[0],wiggle(1,100)[1]]



Wiggle X and Y seperately:

[wiggle(5,30)[0],wiggle(1,100)[1]]


Return to posts index


yikesmikes
Re: Wiggle (or is it?) - position - only X!
on Sep 27, 2006 at 6:40:28 am

I just read this part, I just need to make it wiggle between two certain values (say 133,150).

The only clamping for a wiggle expression I could find is here from an earlier Dan Post:

http://forums.creativecow.net/cgi-bin/new_read_post.cgi?forumid=2&postid=85...

You'd need to read the whole post to get the gist of what they're trying to do.

If you want the wiggle just go between 133 and 150, you could also set a keyframe at 141.5 for the x (halfway between 133 and 150), so there's 8.5 pixels from the 141.5 to either the 133 or 150, then use a wiggle like this:

[wiggle(5,8.5)[0],value[1]]

That's assuming you want an amplitude of 5, use your own amplitude. Theoretically this should work, but I see the values generated are very rarely above or below your targets, so you might need to tweak the 8.5 to a smaller number. Maybe someone knows how to clamp it properly, but practically you should be able to get it in the ball park with that expression or one close to it.


Return to posts index

ninguem
Re: Wiggle (or is it?) - position - only X!
on Sep 27, 2006 at 10:50:16 am

Thanks to both of you!

Mylenium you


Return to posts index

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