gifs from Processing Export videos and gifs directly from Processing with a single line of code. Just drag/add one of the files to your sketch and call the export-function. //gif(frames); gif(100); //gif(frames,modulo); gif(100,2); //video(frames); video(100);