tute fif­t­e­e­n

by Nathan Dagher
  • Show Sketch
/**@peep sketchcode */
void setup() {
  size(500, 500);
  background(255);
}
 
void draw() {
  if (keyPressed) {
    noStroke();
    fill(255);
    rect(0,0,520, 520);
  }
  float a=random(255);
  float s=random(255);
  float d=random(255);
  float f=random(255);
  stroke(a, s, d, f);
  strokeWeight(10);
  if (mousePressed) {
    line(pmouseX, pmouseY, mouseX, mouseY);
  }
}

Comments

Nobody has said anything yet.