/** *
* * No Safari support. */ PImage img = null; void setup () { size(300, 200); } void draw () { background(255); if ( img != null ) image(img, 0,0, width,height); } void newImageAvailable ( Image i ) { img = new PImage( i ); }