Haig Armen Educational Archive


Exercise 02

by Haig. Average Reading Time: less than a minute.

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)   ); 
  
}

No comments on ‘Exercise 02’

Leave a Reply