ManipulateVideo [expr,[u,<|t1u1,…,tnun|>]]
generates a video of duration tn from manipulating the value of u given the specification over times ti.
ManipulateVideo [expr,{u,…},{v,…},…]
provides controls to manipulate each of the u,v,….
ManipulateVideo [manipulate]
creates a video from a Manipulate object.
ManipulateVideo
ManipulateVideo [expr,[u,<|t1u1,…,tnun|>]]
generates a video of duration tn from manipulating the value of u given the specification over times ti.
ManipulateVideo [expr,{u,…},{v,…},…]
provides controls to manipulate each of the u,v,….
ManipulateVideo [manipulate]
creates a video from a Manipulate object.
Details and Options
- ManipulateVideo can be used to generate interesting and insightful videos from existing Manipulate objects for easy publishing on video platforms.
- Any of the variables u, v, … can be controlled using one of the following settings:
-
{u,umin,umax} vary u from umin to umax{u,umin,umax,du} vary u between umin and umax in steps du{u,{u1,u2,…}} allow u to take on discrete values u1, u2, …{u,<|t1u1,t2u2,…|>} vary u so that at every time ti takes the value ui
- When times are given for controls in the form of {u,<|t1u1,…,tnun|>}, the value of DefaultDuration is ignored and a video with a duration of tn is generated.
- ManipulateVideo has the same options as Manipulate , with the following additions and changes: [List of all options]
-
- The following settings can be given for Appearance :
-
Automatic renders controls using the style elements of the local computer systemNone excludes control elements"Generic" renders controls in a generic style
- The following video generation options can also be given:
-
FrameRate 30 the frame rate to use
-
ImageMargins 0 margins around the whole ManipulatePreserveImageOptions True whether to preserve image size and other options when regenerating graphicsShrinkingDelay 0 how long to delay before shrinking if the displayed object gets smallerUndoTrackedVariables None variables that, when changed, should be tracked by the front end's undo mechanism
List of all options
Examples
open all close allBasic Examples (1)
Manipulate one variable to control the colors in which an image is quantized:
Scope (6)
By default, a variable is animated across its domain:
Specify how to animate the variable:
Multiple variables are animated synchronously across their domains:
Specify how to animate variables:
Specify the evolution of a variable:
Specify the evolution of multiple variables:
Options (3)
Appearance (1)
By default, the resulting video does not include any controls:
Use Appearance Automatic to display the controls. Controls are displayed depending on the computer system on which they are created:
Use Appearance "Generic" to uniformly display the controls:
DefaultDuration (1)
If no times are included in the specification, the duration of the video is controlled by the DefaultDuration option:
If explicit times are included in the specification, the duration of the video is computed accordingly:
If explicit times are included in the specification and the DefaultDuration is set, the times in the specification are rescaled to match the desired duration:
KeyframeActions (1)
Specify the evolution of multiple variables using the KeyframeActions option:
Applications (5)
Animated Graphics (4)
Animate creation of the dragon curve by increasing angles and evolution steps:
Manipulate a dragon curve, given specific time-value specification for each control:
Animation of rolling circles:
• [0,2] increase displacements from -4 to 4
• [2,4] increase the number of points from 100 to 400
Animate electric charges first by varying the magnitude and then the position of one of the charges:
Experiments from Demonstrations (1)
Create an animation based on the Understanding 3D Rotation Demonstration:
Create a simpler Manipulate :
Rotation experiments with a cube that extends between 0 and 1 in three dimensions:
• 0: set the vertical rotation axis at
• [0, 2]: perform a rotation
• 3: move the vertical rotation axis to
• [3, 5]: perform a rotation
• 6: move the vertical rotation axis to
• [6, 8]: perform a rotation
Properties & Relations (1)
It is possible to specify the time evolution of the variables in two different ways. Start with a two-variable Manipulate :
You can plan the evolution of each variable by specifying an association where the keys represent the times:
Another way to obtain the same evolution is to use the KeyframeActions option. In this case, you specify a list of delayed rules where the left-hand side is the time, and the right-hand side is the action that happens at that time. Usually the actions consist of variable assignments:
Possible Issues (1)
When specifying generic actions using the KeyframeActions option, it is important to keep in mind that each action will be evaluated twice, once in the initialization stage, and again at the specified time:
Related Guides
History
Text
Wolfram Research (2024), ManipulateVideo, Wolfram Language function, https://reference.wolfram.com/language/ref/ManipulateVideo.html.
CMS
Wolfram Language. 2024. "ManipulateVideo." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ManipulateVideo.html.
APA
Wolfram Language. (2024). ManipulateVideo. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ManipulateVideo.html
BibTeX
@misc{reference.wolfram_2025_manipulatevideo, author="Wolfram Research", title="{ManipulateVideo}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/ManipulateVideo.html}", note=[Accessed: 17-November-2025]}
BibLaTeX
@online{reference.wolfram_2025_manipulatevideo, organization={Wolfram Research}, title={ManipulateVideo}, year={2024}, url={https://reference.wolfram.com/language/ref/ManipulateVideo.html}, note=[Accessed: 17-November-2025]}