I'm an absolute beginner trying to mix Processing with moving images edited on Premiere Pro. I'm just trying to do very simple sketches and then want to export as video clip to layer with traditional video on Premiere. I use the save frame function as in;
long initialTime;
void setup(){
size(600,200);
strokeWeight (5);
initialTime = millis();
}
void draw() {
float x = 10;
float y = 50; //set the multiplier to adjust speed
line(x,y+50,x+(millis()-initialTime)*0.05, y+50);
saveFrame ("frames/####/png");
}
When I click on 'create movie' I get the error message: 'QuickTime Movie failed. java.lang.NullPointerException.
I'm so frustrated as I don't have the experience to try to work around the issue. So please.....can anyone help? Please?