Week 11

by Yulong Guo
  • Show Sketch
/** @peep sketchcode */
void setup() {
  size(500, 500);
  background(0);
  smooth();
}
 
void draw() {
  stroke(255);
  strokeWeight(5);
  point(mouseX, mouseY, pmouseX, pmouseY);
  if(mousePressed) {
    background(0);
  }
}

Comments

Nobody has said anything yet.