This example is for Processing (BETA) version 149+. If you have a previous version, use the examples included with your software. If you see any errors or have comments, please let us know.
Save Many Images.
The saveFrame() function allows you to save images from a program while it is running. This example saves the first 50 frames of a program. These images can be imported into animation software or QuickTime and then saved as a movie.