ListAnimate
ListAnimate[{expr1,expr2,…}]
generates an animation whose frames are the successive expri.
ListAnimate[list,fps]
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: [List of all options]
-
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.
-
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 AutoAction False whether to change controls automatically when the mouse is over them AutorunSequencing Automatic how autorun should use the controls BaselinePosition Automatic alignment relative to surrounding text BaseStyle {} base style specifications for the Manipulate Bookmarks {} bookmark settings ContentSize Automatic the absolute size for the content area ContinuousAction Automatic whether to update continuously when controls are changed ControllerLinking Automatic when to activate links to external controllers ControllerMethod None how external controllers should operate ControllerPath Automatic what external controllers to try to use ControlPlacement Automatic placement of controls ControlType Automatic type of controls to use DefaultDuration 5. the default duration in seconds Deinitialization None an expression to be evaluated if the output from the Manipulate is deleted Deployed False whether to make the displayed output deployed DisplayAllSteps True whether to force all expri to be displayed Evaluator Automatic the kernel to use for evaluations ExcludedContexts Automatic contexts excluded from SaveDefinitions FrameLabel None labels for the outer frame FrameMargins Automatic margins inside the overall frame ImageMargins 0 margins around the whole Manipulate ImageSize All the overall image size to use IncludedContexts All contexts considered for SaveDefinitions Initialization None an expression to be evaluated when output is first displayed InterpolationOrder Automatic interpolation order for animating transitions between bookmarks KeyframeActions Automatic control settings for timed keyframe LabelStyle {} style specifications for the controls area LocalizeVariables True whether to localize the variables Paneled True whether to put the displayed output in a panel PreserveImageOptions True whether to preserve image size and other options when regenerating graphics RotateLabel False whether to rotate y labels on the frame SaveDefinitions False whether to save all definitions associated with expr ShrinkingDelay 0 how long to delay before shrinking if the displayed object gets smaller SynchronousInitialization True whether to perform initialization synchronously SynchronousUpdating Automatic whether to update synchronously TouchscreenAutoZoom False whether to zoom to fullscreen when activated on a touchscreen TouchscreenControlPlacement Automatic placement of controls on a touchscreen TrackedSymbols Full symbols whose changes trigger updates in the output UndoTrackedVariables None variables that, when changed, should be tracked by the front end's undo mechanism UnsavedVariables None variables whose values should not be saved
List of all options
Examples
open allclose allScope (4)
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:
Options (19)
AnimationRunning (2)
By default, ListAnimate starts running when evaluated:
By setting AnimationRunning->False, ListAnimate starts in a paused state:
AppearanceElements (2)
By default, ListAnimate only contains an Animator:
Use AppearanceElements to get additional controls:
Deployed (2)
By default, the contents can be selected and edited:
Use Deployed to restrict the interactivity of the contents:
ImageSize (3)
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:
Applications (4)
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:
Text
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.
APA
Wolfram Language. (2007). ListAnimate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ListAnimate.html