2
$\begingroup$

I have a simple question about animation: if you do not specify the animation step, what value is used?

Thank you.

$\endgroup$
  • 1
    $\begingroup$ Which animation function are you referring to? Display within the Notebook or as export to another format like .GIF? $\endgroup$ – Mr.Wizard Dec 21 '16 at 23:35
3
$\begingroup$

You can do this test to verify the use of this function:

One frame every 0.5 seconds:

g = Graphics[
    Table[{Text[Style[#, FontSize -> 40, Bold, Red], {0, 0}]}, 1]] & /@
   Range[10] ; Export["C:\Users\LMC\Documents\anima.gif", g, 
 "DisplayDurations" -> 0.5]

One frame every 1 seconds:

g = Graphics[
    Table[{Text[Style[#, FontSize -> 40, Bold, Red], {0, 0}]}, 1]] & /@
   Range[10] ; Export["C:\Users\LMC\Documents\anima.gif", g, 
 "DisplayDurations" -> 1]
| improve this answer | |
$\endgroup$
0
$\begingroup$

According to the documentation for Animate, the DefaultDuration parameter has value 5 (the default duration in seconds) though you can change this by using the option DefaultDuration->s to set it to s seconds.

| improve this answer | |
$\endgroup$

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