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

Extending time of evolution

New Here ,
Nov 21, 2024 Nov 21, 2024

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
1.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

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
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.

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

Hi Dan

 

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

 

Best

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 ,
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.

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

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'?

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

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.

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

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?

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

Did you try my ping pong suggestion?

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

Hi Dan

 

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

 

Best

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

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

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