bruno-peyrot_ICN_Complet/05. Tests et ES/Ardoisev3/Ardoisev3.pde
void setup() {
  size(500,500);
}

void draw() {
  if (mousePressed) {
    if (mouseButton == LEFT) {
      strokeWeight(1);
      line(pmouseX, pmouseY, mouseX, mouseY);
    }
    if (mouseButton == RIGHT) {
      strokeWeight(5);
      line(pmouseX, pmouseY, mouseX, mouseY);
    }
  }
  if (keyPressed) {
    background(200);
  }
}

