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

If < expression

Community Beginner ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

Hi looking for a bit of help on an expression, I currently have a displacement map controlled by a slider control, I'm using this expression:

 

posterizeTime (4);
w = wiggle(8,40)
Math.max(w,0)

 

To make it wiggle upto 40 pixels, what I want is for it only to displace when between say, 20-40 (I still want the wiggle to range from 0-40 - so that it happens less often - I just dont want it displacing by like 1px etc).

So basically I'm trying to get a stronger effect happen every so often, rather than cycling through

 

Probably very simple just don't know my way around them too well!

Thanks

TOPICS
Expressions

Views

124

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

correct answers 1 Correct answer

Community Expert , Jan 26, 2022 Jan 26, 2022

Something like this maybe:

posterizeTime (4);
w = wiggle(8,40)
w > 20 ? w : 0

Votes

Translate

Translate
Community Expert ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

Something like this maybe:

posterizeTime (4);
w = wiggle(8,40)
w > 20 ? w : 0

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
Community Beginner ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

LATEST

That's perfect -thanks!

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