Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

wiggler expression for position

Community Beginner ,
Feb 12, 2011 Feb 12, 2011

I want to have a random movement on a layer using the a wiggle expression but I only want it on one axis.

Using this:

wiggle(1,50)

makes it pop around on the screen, so what do I need to add to this to get it to work up and down only?

Also, is there a 'library' of sorts that anyone can point me at that has some useful expression examples to get me started.

I realise thats a little like 'how long is a piece of string' but its worth asking!

Thanks

TOPICS
Expressions
2.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Feb 12, 2011 Feb 12, 2011

Here's a search that pulls up the answer to your question about wiggling on one axis.

> Also, is there a 'library' of sorts that anyone can point me at that has some useful expression examples to get me started.

Yes. It's the After Effects Help document.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 12, 2011 Feb 12, 2011

Thanks for your reply Todd

I'll take a look

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 12, 2011 Feb 12, 2011

Position is an array. It's defined in square brackets. To make the wiggle expression work only in x write it this way:

x = wiggle(5,50)[0];

y = value[1];

z = value[2];

[x, y, z]

This will allow you to add position keyframes to the layer.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 13, 2011 Feb 13, 2011

Thanks for replying Rick, very useful.

I notice that there a few ways to achieve a similar effect now

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 26, 2011 Feb 26, 2011

A great library can be found at http://www.motion-graphics-exchange.com/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 27, 2011 Feb 27, 2011
LATEST

Thanks for that...

Found loads of other goodies there too..

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines