Exercise 02

that wasn’t hard, try this;



// the draw() function is called many times per second
// it's very useful for animating objects

// notice the opening and closing of curly braces 
// everything in between them is run many times per second

void draw() {
// background() erases the screen with a colour
  background(255, 204, 0);
  
  line(   random(100),random(100),   random(100),random(100)   ); 
  
}


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *