WLJS LogoWLJS Notebook

SowVideo

SowVideo[frame] specifies that frame should be collected by the nearest enclosing ReapVideo.

  • SowVideo[frame, n] repeats frame n times when reaped.

This function is used for procedural video generation.

Examples

ReapVideo[Do[SowVideo[Graphics[Circle[], ImageSize -> 100]], 10]]
ReapVideo[Table[SowVideo[Plot[Sin[x + t], {x, 0, 2 Pi}]], {t, 0, 2 Pi, 0.1}]]
SowVideo[frame, 5]  (* Repeat frame 5 times *)

*See the official Wolfram Language Reference for more details.

On this page