Here is a simple example, as time goes by, the speed of animation playback is increasing

enter image description here

The built-in function Animate seems to only play animation at a uniform speed, there is a related option DefaultDuration, I don't know how to use it correctly

enter image description here

What is the simple way to create this kind of animation in Mathematica?

  • 5
    $\begingroup$ You could make your own nonlinear function of time and use that to animate. $\endgroup$
    – MarcoB
    Commented Jan 29, 2021 at 13:32
  • 1
    $\begingroup$ Instead of accelerating the Animate you may accelerate the expression inside Animate. E.g. let's call exp[i] for i=1 to 100 the expression you want to animate, then exp[i^2] for i=1 to 10 will display accelerated. $\endgroup$ Commented Jan 29, 2021 at 15:09

1 Answer 1


Just to show what I meant in comments:

With[{tmax = 30},
       Black, Arrowheads[Large],
       Arrow[{{0, 0}, {t^3 + 10, 0}}]
     PlotRange -> {{-20, tmax^3 + 10}, {-300, 300}},
     PlotRangePadding -> {Scaled[0.05], Scaled[.2]}
   {t, 1, tmax}



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.