Week 4 Tut­o­r­i­a­l

by Marjory Jiang
  • Show Sketch
/** @peep sketchcode */
//Exercise i - Use three variables assigned to random values to create a composition that is different every time the program is run.
size(400, 400);
background(52, 57, 98);
smooth(); 
strokeWeight(20); 
stroke(0, 130); 
rect(0, random(height), width, random(height)); 
rect(0, random(height), width, random(height)); 
rect(0, random(height), width, random(height)); 
rect(0, random(height), width, random(height)); 
rect(0, random(height), width, random(height));

Comments