This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Animator

Animator[u]
represents an object which displays with the value of u being continually increased from 0 to 1 with time.
Animator[u, {umin, umax}]
makes u vary from umin to umax.
Animator[u, {umin, umax, du}]
makes u vary in steps du.
Animator[u, {umin, umax}, ups]
makes the value of u increase at a rate of ups units per second.
  • The default duration is 5 seconds.
  • Animator[Dynamic[s], ...] makes the value of s be continually reset with time.
  • Animator[u, {umin, Infinity}] will run forever, with u increasing by 1 every second.
  • The following options can be given:
AnimationDirectionForwardthe direction of the animation
AnimationRunningTruewhether the animation is running
AnimationRateAutomaticthe rate at which to take variables to vary
AnimationRepetitionsInfinityhow many times to run before stopping
AppearanceAutomaticthe overall appearance of the animator
AppearanceElementsAutomaticelements to include in the displayed animator
Exclusions{}specific u values to exclude
DefaultDuration5.the default duration in seconds
DisplayAllStepsFalsewhether to force all discrete steps to be displayed
EnabledAutomaticwhether the animator is enabled, or grayed out
ImageMargins0margins around the image of the displayed animator
ImageSizeAutomaticthe overall image size of the displayed animator
  • The following elements are included in a default animator: "ProgressSlider", "PlayPauseButton", "FasterSlowerButtons", "DirectionButton". These elements can be specified in any order in a list given as the setting for AppearanceElements.
  • Additional possible elements include: "PlayButton", "ResetPlayButton", "PauseButton", "ResetButton".
An animator set at 0.8` in the default range 0 to 1:
In[1]:=
Click for copyable input
Out[1]=
 
A animator with its value updated dynamically:
In[1]:=
Click for copyable input
Out[1]=
 
A animator with integer values in the range 0 to 100:
In[1]:=
Click for copyable input
Out[1]=
New in 6