Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Trying to compile two sketches on one

$
0
0
Don't call loadImage() in draw()!
Actually, don;t call loadImage() at all.
There is no need to save the file to disk while merging the two sketches.
You can create a PImage from the camera directly:

img = cam.get();
  

Viewing all articles
Browse latest Browse all 1768

Trending Articles