WOLFRAM

ListAnimate[{expr1,expr2,}]

generates an animation whose frames are the successive expri.

ListAnimate[list,fps]

displays fps frames per second.

Details and Options

Examples

open allclose all

Basic Examples  (1)Summary of the most common use cases

Animate a sequence of images:

Out[1]=1

Scope  (4)Survey of the scope of standard use cases

ListAnimate Content  (3)

Animate a list of Wolfram Language expressions:

Out[1]=1

Animate a sequence of expressions:

Out[1]=1

Force the expressions to wrap at a fixed width:

Out[2]=2

Animate a TimeSeries:

Out[1]=1
Out[2]=2

ListAnimate Control  (1)

By default, the animation lasts a total of 5 seconds:

Out[1]=1

Control the display rate of each frame using a second argument:

Out[2]=2

Options  (19)Common values & functionality for each option

Alignment  (1)

Use preset values:

Out[1]=1

AnimationDirection  (1)

Control the direction of animation:

Out[1]=1

AnimationRate  (1)

Control the animation rate:

Out[1]=1

AnimationRepetitions  (1)

Control the number of animation cycles:

Out[1]=1

AnimationRunning  (2)

By default, ListAnimate starts running when evaluated:

Out[1]=1

By setting AnimationRunning->False, ListAnimate starts in a paused state:

Out[1]=1

AppearanceElements  (2)

By default, ListAnimate only contains an Animator:

Out[1]=1

Use AppearanceElements to get additional controls:

Out[1]=1

ControlPlacement  (1)

Specify the location of the controls:

Out[1]=1

DefaultDuration  (1)

Control the time duration of one animation cycle:

Out[1]=1

Deployed  (2)

By default, the contents can be selected and edited:

Out[1]=1

Use Deployed to restrict the interactivity of the contents:

Out[1]=1

FrameMargins  (2)

Use preset values:

Out[1]=1

Or use any values:

Out[1]=1

ImageMargins  (2)

Use preset values:

Out[1]=1

Or use any values:

Out[1]=1

ImageSize  (3)

By default, ListAnimate leaves enough space for its content without ever having to resize:

Out[1]=1

By setting ImageSize, leave just enough space for the current display:

Out[1]=1

A fully custom image size:

Out[1]=1

Applications  (4)Sample problems that can be solved with this function

Collect the individual steps in an optimization problem:

Out[1]=1

Animate the progression of the solver:

Out[2]=2

Collect individual steps when solving the sine-Gordon PDE:

Animate the solution progress:

Out[2]=2

An implementation of LU decomposition that uses Sow on all intermediate steps:

Reap the intermediate results and make an animation:

Out[3]=3

Use MatrixPlot for larger matrices:

Out[4]=4

Show changing moon phases in a month:

Use TimeSeriesThread to create a TimeSeries with vector values composed of icons and fractions. Then rescale the time series to integer time stamps:

Use TimeSeriesMapThread to create a series of labeled images with gradient background:

Animate the series:

Out[5]=5

Properties & Relations  (3)Properties of the function, and connections to other functions

Use ListAnimate to animate output from Table:

Out[1]=1

Use Animate for animations that depend on a parameter:

Out[1]=1

Use Animator when assembling a custom animation frame:

Out[1]=1

Neat Examples  (1)Surprising or curious use cases

Animate a sequence of disks with random sizes:

Out[1]=1
Wolfram Research (2007), ListAnimate, Wolfram Language function, https://reference.wolfram.com/language/ref/ListAnimate.html (updated 2014).
Wolfram Research (2007), ListAnimate, Wolfram Language function, https://reference.wolfram.com/language/ref/ListAnimate.html (updated 2014).

Text

Wolfram Research (2007), ListAnimate, Wolfram Language function, https://reference.wolfram.com/language/ref/ListAnimate.html (updated 2014).

Wolfram Research (2007), ListAnimate, Wolfram Language function, https://reference.wolfram.com/language/ref/ListAnimate.html (updated 2014).

CMS

Wolfram Language. 2007. "ListAnimate." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/ListAnimate.html.

Wolfram Language. 2007. "ListAnimate." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/ListAnimate.html.

APA

Wolfram Language. (2007). ListAnimate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ListAnimate.html

Wolfram Language. (2007). ListAnimate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ListAnimate.html

BibTeX

@misc{reference.wolfram_2025_listanimate, author="Wolfram Research", title="{ListAnimate}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/ListAnimate.html}", note=[Accessed: 28-April-2025 ]}

@misc{reference.wolfram_2025_listanimate, author="Wolfram Research", title="{ListAnimate}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/ListAnimate.html}", note=[Accessed: 28-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_listanimate, organization={Wolfram Research}, title={ListAnimate}, year={2014}, url={https://reference.wolfram.com/language/ref/ListAnimate.html}, note=[Accessed: 28-April-2025 ]}

@online{reference.wolfram_2025_listanimate, organization={Wolfram Research}, title={ListAnimate}, year={2014}, url={https://reference.wolfram.com/language/ref/ListAnimate.html}, note=[Accessed: 28-April-2025 ]}