Papiers bruitistes

14/12/2017 SOAadmin 0

PAPIER & ÉLECTRONIQUE Liste d’exemple de projets mêlant électronique et papier Ingénierie de papier. /////////////////////////////////////////////////////////////////////////////////////// ORIGAMI NASA Physicist’s Incredible Origami Modèles en papier de Polyèdres […]

CIRCLE

30/11/2017 etudiant 0

void setup(){size(640, 360);noSmooth();background(120,170,200);fill(300);}void draw(){if(mousePressed){stroke(200);}else{stroke(3);}ellipse(mouseX-1, mouseY, mouseX+2, mouseY);ellipse(mouseX, mouseY-1, mouseX, mouseY+2); fill(126);}

Code – Random pattern

30/11/2017 etudiant 0

void setup(){size(800,800);} void draw(){if (mousePressed){fill(random(0,255));} else {fill(random(0,255),0,200);}ellipse(mouseX,mouseY,80,80);}

interteton

30/11/2017 etudiant 0

version twitter= void setup(){size(600,600);}void draw() {background(479,mouseX,mouseY);translate(mouseX, mouseY);fill(479,mouseX,mouseY);stroke(mouseX,mouseY,219);strokeWeight(6);ellipse(mouseY,mouseX,30,30);ellipse(20,mouseX,10,mouseY);ellipse(10,mouseX,mouseY,20);}