Aucune image

tube

30/11/2017 etudiant 0

void setup(){size(700,700);background(16,40,10);}void draw(){strokeWeight(1);ellipse(pmouseX,pmouseY,mouseX,mouseY); if (keyPressed==true){background(random(255), random(255),random(255)); fill(random(255), random(255),random(255));stroke(random(255), random(255),random(255));}}

Code

30/11/2017 etudiant 0

int value = 0; void setup(){ size(1000,1000); } void draw() { fill(mouseX,mouseX,mouseY); rect(mouseX,mouseY,mouseX,mouseY); }