From the course: Processing: Interactive Data Visualization

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Exporting video

Exporting video - Processing Tutorial

From the course: Processing: Interactive Data Visualization

Start my 1-month free trial

Exporting video

If you've created a dynamic drawing in Processing, you may want to be able to save your results and export them as a movie that you can then save as a movie file and share with other people. Previously, to do this you needed to export the files and you needed to stitch them together in a video editing program like Premiere Pro or Final Cut. But Processing now has built in a special tool called MovieMaker that greatly facilitates this process. To do that, I'm going to use a sketch that I used on tracing the mouse just a few movies ago. This is the movie from chapter, the first one, about tracking the mouse. I'm just going to run the program right here, just for a few seconds, and then I'm going to quit it. What you'll see is I've added one important line, and it's this one down here. And what this line does is it saves a still image of the display window every time it goes through the loop. So that saveFrame is the function. And then what I've done here is I've given it a specific way…

Contents