Skip to main content
sonicawave
Participating Frequently
Nov 21, 2024 8:52 PM UTC
Answered

Extending time of evolution

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.

 

 

Cheers

This topic is closed to new replies. Start a new post to keep the conversation going.
stacey_7964Correct answer
Participating Frequently
Nov 22, 2024 5:15 AM UTC

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.

9 replies

stacey_7964Correct answer
Participating Frequently
Nov 22, 2024 5:15 AM UTC

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
sonicawave
Participating Frequently
Nov 22, 2024 7:40 AM UTC

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
Dan Ebberts
Community Expert
Community Expert
Nov 22, 2024 4:50 PM UTC

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
Dan Ebberts
Community Expert
Community Expert
Nov 21, 2024 11:41 PM UTC

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
sonicawave
Participating Frequently
Nov 22, 2024 7:41 AM UTC

Hi Dan

 

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

 

Best

Translate