AnimationVideo
AnimationVideo[fexpr,{u,umin,umax}]
generates a video of fexpr in which u varies from umin to umax.
AnimationVideo[fexpr,{u,umin,umax,du}]
takes u to vary in steps du.
AnimationVideo[fexpr,{u,{u1,u2,…}}]
makes u take on values u1, u2, ….
Details and Options
- AnimationVideo can be used to generate video objects algorithmically. It is typically used for creating video of a time-varying plot, a rotating 3D object, etc.
- The expression fexpr should evaluate to an Image or Graphics object.
- By default, AnimationVideo places the new video under the "Video" directory in $WolframDocumentsDirectory.
- The following options are supported:
-
BitRateAutomaticapproximate bit rate to use CompressionLevelAutomaticcompression level to use DefaultDuration 5.the default duration FrameRate Automaticthe frame rate to use GeneratedAssetFormatAutomaticthe file format of the result GeneratedAssetLocation$GeneratedAssetLocationthe location of the result OverwriteTargetFalsewhether to overwrite an existing file RasterSizeAutomaticthe raster size used to rasterize expressions VideoEncodingAutomaticvideo encoding to use VideoTransparencyFalsewhether the output video should have a transparency channel - If an explicit setting is specified for FrameRate, it takes precedence over the setting for DefaultDuration.
Examples
open allclose allBasic Examples (2)
Generate a video of a varying plot:
Generate video from rotating 3D graphics:
Scope (3)
Generate a video by rasterizing the current value of the iterator:
Specify the start, end and step values for the iterator:
Specify a list of specific values for the iterator:
Options (4)
DefaultDuration (2)
The default duration of a generated video is 5 seconds:
If both a step specification and a frame rate are specified, the DefaultDuration option is ignored:
FrameRate (2)
If a step is specified, the frame rate will be computed from the number of generated frames and the requested duration:
If no step is specified, the generated video will have a frame rate of 30 frames/second:
Specify a different frame rate:
Applications (7)
Basic Applications (3)
Generate a video with frames of evolving hue:
Create a video from a rotating image:
Zoom out from your current location:
Animation by Interpolation (1)
Generate trajectories of a thousand marbles and visualize them bouncing in a box.
Define the trajectory equations and additional variables:
Create a video of the motion trajectories:
Animation by Evolution (2)
Generate an evolving cellular automaton:
Compute the equivalent spherical radius:
Displace the points to the boundary of the sphere:
Animation over Time (1)
Text
Wolfram Research (2021), AnimationVideo, Wolfram Language function, https://reference.wolfram.com/language/ref/AnimationVideo.html.
CMS
Wolfram Language. 2021. "AnimationVideo." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AnimationVideo.html.
APA
Wolfram Language. (2021). AnimationVideo. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AnimationVideo.html