Rendering sketch as movie.

edited November 2016 in How To...

[edit]

Following code works for me ...

boolean recording;

void setup() {
     `recording = false;
}

void draw() {
     if (recording) {
          `saveFrame("images/img####.jpg");`
     }
}

void keyPressed() {
     if (key == 's' || key =='S') {
         recording = !recording;
     }
} 

then import sequence into preferred video editing software. (I use Adobe Premiere CC)

Sign In or Register to comment.