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

Examples

open allclose all

Basic 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 AppearanceAutomatic 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:

Wolfram Research (2024), ManipulateVideo, Wolfram Language function, https://reference.wolfram.com/language/ref/ManipulateVideo.html.

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_2024_manipulatevideo, author="Wolfram Research", title="{ManipulateVideo}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/ManipulateVideo.html}", note=[Accessed: 24-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_manipulatevideo, organization={Wolfram Research}, title={ManipulateVideo}, year={2024}, url={https://reference.wolfram.com/language/ref/ManipulateVideo.html}, note=[Accessed: 24-November-2024 ]}