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

AE Expression with RG Particular

New Here ,
Jun 20, 2017 Jun 20, 2017

Copy link to clipboard

Copied

I am trying to add a wiggle expression to RG Particular on the Wind X parameter. however, I am not sure how to limit the wiggle expression to stay between -400 and -1000. Any thoughts?

[Moved from the Lounge (which is where you can "connect with your peers" from across all of Adobe's products for conversations that don't directly relate to help and support) to a product-specific support forum - moderator]

TOPICS
Expressions

Views

557

Translate

Translate

Report

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
LEGEND ,
Jun 21, 2017 Jun 21, 2017

Copy link to clipboard

Copied

Wiggle is never exact and applies additively to a base property value. So in your case your would have to set the value halway through the range at -700 and then experiment with the wiggle's amplitude parameter to keep it within the desired range.

Mylenium

Votes

Translate

Translate

Report

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
Participant ,
Jun 22, 2017 Jun 22, 2017

Copy link to clipboard

Copied

Hi joeartist,

Try this:

var freq = 10; //set your wiggle frequency

var min = -1000; //minimum value

var max = -400; //maximum value

var wig = wiggle(freq,1);

linear(wig, -1,1, min, max);

Cheers

Henrique

Henrique \\ TMMW
Clips Exporter | Text Replacer | Selector for Premiere Pro | Thumbs Up

Votes

Translate

Translate

Report

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 ,
Jun 29, 2017 Jun 29, 2017

Copy link to clipboard

Copied

Thanks for your thoughts. I tried this, however it does not seem to be working. Here is what I types in to the expression field (made some changes to the min/mx values).

var freq = 2;

var min = 0;

var max = 60;

var wig = wiggle(freq, 1);

linear(wig, -1,1, min, max);

does this seem correct?

-Joe

Votes

Translate

Translate

Report

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
Participant ,
Jun 29, 2017 Jun 29, 2017

Copy link to clipboard

Copied

LATEST

Hi Joe

That's correct. I tried the expression you posted and still works fine.

Which property are you applying it too?

I only tested it to the RG Particular Wind X property like you mentioned.

It won't work with all properties as they might have different dimensions.

Let me know where it's not working and the what error you are getting.

Cheers

Henrique

Henrique \\ TMMW
Clips Exporter | Text Replacer | Selector for Premiere Pro | Thumbs Up

Votes

Translate

Translate

Report

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