animate( frames )

The animation in SageMath of the list frames of graphic objects.

Animation speed and looping are controlled via the custom show method with the options

delay=value Delay between frames in hundredths of a second, default 20
 
iterations=integer Number of interations, default zero for infinity

Examples:

show( animate( [ plot( cos(x-t), x, 0, 2*pi,
                       figsize=[4.5,2], color=(0,.5,1) )
               for t in sxrange(0,2*pi,.2) ] ) )

Related operations:   plot

Operation category: output operations sagemath-docs