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


takes u to vary in steps du.


makes u take on discrete values u1, u2, .


varies all the variables u, v, .

Details and Options

  • expr can be any expression; it does not need to be a graphic.
  • Animate evaluates expr only for the specific literal values of u it requires.
  • Animate[expr,{{u,u0},umin,umax}] takes u to have initial value u0.
  • When umax is finite, u is taken to vary at such a rate as to make the animation last for the time given by the setting for DefaultDuration.
  • Animate[expr,{u,umin,Infinity}] makes an infinite animation in which the value of u increases forever at a rate of one unit per second.
  • Animate[expr,{u,-Infinity,Infinity}] also allows u to decrease forever if the animation is run in reverse.
  • Animate generates a Manipulate object containing an Animator.
  • Animate[expr,{{u,u0, ulbl},},] uses ulbl as the label for the u animator etc.
  • Animate has the same options as Manipulate, with the following additions and changes:
  • AnimationDirectionForwardthe direction of the animation
    AnimationRateAutomaticthe rate at which to take variables to vary
    AnimationRepetitionsInfinityhow many times to run before stopping
    AnimationRunningTruewhether the animation is running
    AnimationRunTime0time elapsed since the animation last started running, or 0 if the animation is not running
    AnimationTimeIndexAutomatictime index for the animation, where 0 is the beginning and the value of DefaultDuration is the end
    AppearanceElementsNonecontrol elements to include
    BaseStyle{}base style specifications for the animator
    DefaultDuration5.the default duration in seconds
    DeinitializationNonean expression to evaluate if the output from the Animate is deleted
    DisplayAllStepsFalsewhether to force all discrete steps to be displayed
    Exclusions{}specific values to be excluded
    InitializationNonean expression to evaluate when output is first generated
    LabelStyle{}style specifications for the label area
    RefreshRateAutomaticthe default number of times per second to refresh
    ShrinkingDelayAutomatichow long to delay before shrinking if the displayed object gets smaller
  • The default for du is determined by the setting for the RefreshRate option, and is negative if umin is larger than umax.
  • If du is given as 0, it is taken to be the minimum positive or negative value determined by the setting for RefreshRate.
  • If an explicit setting is specified for AnimationRate, it takes precedence over the setting for DefaultDuration.
  • 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.
  • The settings for BaseStyle and LabelStyle are appended to the default styles typically given by the "Animate" and "AnimateLabel" styles in the current stylesheet.


open allclose all

Basic Examples  (3)

Animate by continuously changing the value of a:

Click for copyable input

Animate by varying n in discrete steps:

Click for copyable input

Animate by continuously changing two parameters a and b:

Click for copyable input

Scope  (8)

Options  (23)

Applications  (9)

Properties & Relations  (2)

Possible Issues  (2)

Neat Examples  (2)

See Also

ListAnimate  Manipulate  Play  Animator  Dynamic  AutorunSequencing


Introduced in 2007
| Updated in 2014