Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I export a Processing sketch as a video?

Tags:

processing

I'm creating a 3D visualisation in Processing. I'm anticipating that each frame will take longer to draw than is acceptable for displaying the animation as a program, so I'd like to export it as a video.

Is this possible? What's the best way of going about it?

like image 924
alnorth29 Avatar asked Sep 24 '12 14:09

alnorth29


1 Answers

If you are not using Processing 2.0 you can use MovieMaker library to export the sketch as a video (in processing 2.0 MovieMaker will be converted in a tool, but it doesn't work yet).

Other option is to use the saveFrame() method in your draw () function

Here you can find an example of how to use MovieMaker

and here the docs of the saveFrame() method

like image 154
Sr.Richie Avatar answered Oct 24 '22 04:10

Sr.Richie