Thursday 25 July 2019

Processing fundamentals


setup() : Function called once when you run sketch.
draw(): Function called continuously at the rate of 60 frames per second.
size(width, height): Sets the size of sketch window.

Hello.pde
void setup(){
  size(800, 500);
  background(100, 135, 230);
}

void draw(){
   //Write all the functional logic here 
}



Previous                                                    Next                                                    Home

No comments:

Post a Comment