Processing Start Code

Without a set canvas size, a default one will appear.

// Runs once on first frame
void setup() { 
    size(400, 400);          // Creates a 400 x 400 pixel canvas
}


// Runs every frame
void draw() {

}

Printing information in the console:

println("I'm a message!");  

Last updated