| .build_zoom_expr | R Documentation |
Constructs a nested if() expression that steps between zoom values at frame boundaries, with linear interpolation during transitions.
.build_zoom_expr(frame_starts, zoom_values, transition_frames)
frame_starts |
Integer vector of frame numbers where each segment begins. |
zoom_values |
Numeric vector of zoom values for each segment. |
transition_frames |
Number of frames for each transition. |
Character string with the FFmpeg expression.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.