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

Extending time of evolution

New Here ,
Nov 21, 2024 Nov 21, 2024

Copy link to clipboard

Copied

HI

 

So I have a fractal noise effect, I alt-clicked the evolution stopwatch and typed the expression 'time*300'. The speed of the aniamtion is fine, but the time length of the animation is too short. What should the expression be to extend the time-length of the evolution animation, maybe make it infinite?

Hope that made sense.

 

Screenshot 2024-11-21 at 20.51.40.png

 

Cheers

TOPICS
Expressions , Scripting

Views

233

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 2 Correct answers

Community Expert , Nov 21, 2024 Nov 21, 2024

Maybe run it backwards (ping pong) after the number gets close to the maximum?

angle = time*360
maxAngle = 90*360;
n = Math.floor(angle/maxAngle);
n%2 ? maxAngle - angle%maxAngle : angle%maxAngle

Votes

Translate

Translate
Community Beginner , Nov 21, 2024 Nov 21, 2024

To extend the time-length of your fractal noise animation, you can adjust the Evolution parameter's expression. For an infinite loop, use time*300 % 360. To slow down ADP RUN the animation, reduce the multiplier, such as time*30. Experiment with different values to achieve your desired effect.

Votes

Translate

Translate
Community Expert ,
Nov 21, 2024 Nov 21, 2024

Copy link to clipboard

Copied

Maybe run it backwards (ping pong) after the number gets close to the maximum?

angle = time*360
maxAngle = 90*360;
n = Math.floor(angle/maxAngle);
n%2 ? maxAngle - angle%maxAngle : angle%maxAngle

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 ,
Nov 21, 2024 Nov 21, 2024

Copy link to clipboard

Copied

Hi Dan

 

Thanks for your response. I'll try this out next time.

 

Best

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 ,
Nov 21, 2024 Nov 21, 2024

Copy link to clipboard

Copied

To extend the time-length of your fractal noise animation, you can adjust the Evolution parameter's expression. For an infinite loop, use time*300 % 360. To slow down ADP RUN the animation, reduce the multiplier, such as time*30. Experiment with different values to achieve your desired effect.

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 ,
Nov 21, 2024 Nov 21, 2024

Copy link to clipboard

Copied

Hi Stacey

 

Thanks for your response. I'm glad you said that because I actually did come across the solution on youtube that is pretty much what you described. I basically typed in 'time*300%32768' as was stated in the video. Didn't know why it was '32768'. What would the difference be if it was 'time*300%32768' vs 'time*300%360'?

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 Expert ,
Nov 22, 2024 Nov 22, 2024

Copy link to clipboard

Copied

The largest positive integer you can represent in 15 bits is 32767, which is where Evolution stops. Doing modulo (%) 32768 division allows it to effectively start over, so 32768 gives the same result as 0. However, there will be a glitch at the transition point, which may or may not be an issue for you.

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 ,
Nov 22, 2024 Nov 22, 2024

Copy link to clipboard

Copied

I see. So i do have one follow up to this. Where it starts over, for me theres a frame change thats noticable but I don't want it to look like theres a change, does that make sense? So when the evolution beginss again I want it to look like a continuous evolution, how do I do that?

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 Expert ,
Nov 22, 2024 Nov 22, 2024

Copy link to clipboard

Copied

Did you try my ping pong suggestion?

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 ,
Nov 22, 2024 Nov 22, 2024

Copy link to clipboard

Copied

LATEST

Hi Dan

 

It looks like your suggestion worked. Nicely done and thank you 🙂

 

Best

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 ,
Nov 22, 2024 Nov 22, 2024

Copy link to clipboard

Copied

ah, not yet, ill try that then, cheers 🙂

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