6.3 Combining Animations
The standard list operations are very useful when composing movies.
Useful list operations when creating animations.
To join two or more animations together, one after the other, use Join.
To create an animation that runs forward and then backward, use Reverse; use Rest to drop the repeated last frame.
To merge two animations of the same length use Transpose.
MapIndexed is an elegant method for adding another movement to an existing movie. It is useful because it provides the frame index number. The first argument to the pure function is the original frame, and the second argument is the index number.
The index number can be used to create the additional movement.