Animate

Animate[expr,{u,umin,umax}]

generates an animation of expr in which u varies continuously from umin to umax.

Animate[expr,{u,umin,umax,du}]

takes u to vary in steps du.

Animate[expr,{u,{u1,u2,}}]

makes u take on discrete values u1, u2, .

Animate[expr,{u,},{v,},]

varies all the variables u, v, .

Details and Options

Examples

open allclose all

Basic Examples  (3)

Animate by continuously changing the value of a:

Animate by varying n in discrete steps:

Animate by continuously changing two parameters a and b:

Scope  (8)

Animate Content  (2)

Animate a plot:

Animate any expression, not just a graphic:

Animate Control  (6)

Specify a range for animation:

Specify the animator controls using AppearanceElements:

Specify animation steps:

Specify an infinite animation, where the animation variable increases at unit speed:

Animate, using a discrete set of values:

Animate several variables at once:

Options  (23)

Alignment  (1)

Use preset values:

AnimationDirection  (1)

Control the direction of animation:

AnimationRate  (1)

Control the rate of animation:

AnimationRepetitions  (1)

Control the number of animation cycles:

AnimationRunning  (2)

By default Animate starts running when evaluated:

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

AppearanceElements  (2)

By default Animate only contains an Animator:

Use AppearanceElements to get additional controls:

BaselinePosition  (1)

Align with the surrounding text:

ControlPlacement  (1)

Specify the location of the controls:

DefaultDuration  (1)

Control the time duration of one animation cycle:

Deinitialization  (1)

Specify expressions to be evaluated when Animate is no longer displayed:

Deployed  (2)

By default the contents can be selected and edited:

Use Deployed to restrict the interactivity of the contents:

DisplayAllSteps  (1)

With the default setting, some steps may be skipped:

Use DisplayAllSteps to prevent skipping:

Exclusions  (1)

Exclude values from the range:

FrameMargins  (2)

Use preset values:

Or use any values:

ImageMargins  (2)

Use preset values:

Or use any values:

Initialization  (1)

Specify expression to be evaluated before displaying the animation:

RefreshRate  (1)

Control the refresh rate of the animation:

TrackedSymbols  (1)

Specify symbols that will trigger the animation update:

Applications  (9)

Animate a rolling circle:

Animate the Taylor series of :

Animate the series:

Scan through a large space of cellular automata:

Animate nonlinear slider motion:

Display the superposition of two waves:

Animate a complex map of the plane for different values of :

Display a sphere-torus morphing:

Animate the roots of :

Animate point light positions:

Properties & Relations  (2)

Animated behavior can also be built using Animator as a building block:

Animating a fixed list of expressions can be done directly with ListAnimate:

Possible Issues  (2)

Fix PlotRange to stop animations from jiggling:

Use ImagePadding to make sure different labels do not make the image size change:

Neat Examples  (2)

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_animate, author="Wolfram Research", title="{Animate}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/Animate.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_animate, organization={Wolfram Research}, title={Animate}, year={2014}, url={https://reference.wolfram.com/language/ref/Animate.html}, note=[Accessed: 21-December-2024 ]}