-
Weird oscillations when trying to animate Math.sin() oscillation speed.
I am animating the object with a Math.sin() function. And I am trying to animate oscillation speed using a slider control. I expected that multiplying time on the slider value will give me smooth transitions between frequencies. But when the slider changes its value, the object starts to oscillate exponentially instead. And then, when the slider is static again – everything works just fine. Are there any ways to make a smooth transition between oscillation frequencies?
Comp is here: