generates an animation whose frames are the successive expri.
displays fps frames per second.
Details and Options
- The expri can be any expressions, and do not need to be graphics.
- ListAnimate generates a Manipulate object containing an Animator.
- If it is not specified, fps will by default be chosen so that the animation lasts a total of 5 seconds.
- ListAnimate has the same options as Manipulate, with the following additions and changes:
Alignment Automatic how to align objects in the display area AnimationDirection Forward the direction of the animation AnimationRepetitions Infinity how many times to run before stopping AnimationRunTime 0 time elapsed since the animation last started running, or 0 if the animation is not running AnimationTimeIndex Automatic time index for the animation, where 0 is the beginning and the value of DefaultDuration is the end AppearanceElements Automatic control elements to include DefaultDuration 5. the default duration in seconds DisplayAllSteps True whether to force all expri to be displayed ImageSize All the overall image size to use
- ListAnimate by default displays in an area large enough to fit any of the expri.
- With the option setting ImageSize->Automatic, ListAnimate leaves space only for the expri currently being displayed.
- The following elements are included by default: "ProgressSlider", "PlayPauseButton", "FasterSlowerButtons", "DirectionButton". These elements can be specified in any order in a list given as the setting for AppearanceElements.
Examplesopen allclose all
ListAnimate Content (3)
Animate a list of Wolfram Language expressions:
Animate a sequence of expressions:
Force the expressions to wrap at a fixed width:
Animate a TimeSeries:
By default, ListAnimate starts running when evaluated:
By setting AnimationRunning->False, ListAnimate starts in a paused state:
By default, ListAnimate only contains an Animator:
Use AppearanceElements to get additional controls:
By default, the contents can be selected and edited:
Use Deployed to restrict the interactivity of the contents:
By default, ListAnimate leaves enough space for its content without ever having to resize:
By setting ImageSize, leave just enough space for the current display:
Collect the individual steps in an optimization problem:
Animate the progression of the solver:
Collect individual steps when solving the sine-Gordon PDE:
Animate the solution progress:
An implementation of LU decomposition that uses Sow on all intermediate steps:
Reap the intermediate results and make an animation:
Use MatrixPlot for larger matrices:
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:
Properties & Relations (3)
Use ListAnimate to animate output from Table:
Use Animate for animations that depend on a parameter:
Use Animator when assembling a custom animation frame:
Wolfram Research (2007), ListAnimate, Wolfram Language function, https://reference.wolfram.com/language/ref/ListAnimate.html (updated 2014).
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. Retrieved from https://reference.wolfram.com/language/ref/ListAnimate.html