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

Re : Adding background image to existing code

$
0
0
Change draw() to

  1. void draw(){
  2.       background(b);
  3.       // ...
  4. }

The only restriction is that the image MUST be the same size as the skecth canvas (as speciified in the size() method call)

Viewing all articles
Browse latest Browse all 1768

Trending Articles