-
Exponentially grow then stop
I made this expression to make a square rotate faster and faster and then stop accelerating when it got to a certain speed (b).
///////////
t = Math.exp(time);
b = time*50;Math.min(t, b);
////////////////////////problem is when it gets to the constant speed and the Math.min switches over to b, the rotation speed seems to not only stop accelerating but slow down quite a bit. What is wrong with this expression? I swear I did this before in a very simple way using Math.min and it worked.