class Moniteur { float t,x,y, largeur, hauteur; Moniteur(float X, float Y, float T) { t=T; x=X; y=Y; largeur = 120*t; hauteur = 135*t; Noise bruit = new Noise(23,25,358,27); } void Dessiner() { smooth(); Noise bruit = new Noise(7.5*t,7.5*t,119.5*t,91.5*t); strokeWeight(8); strokeJoin(ROUND); stroke(0); fill(0); pushMatrix(); translate(x,y); rect(50*t,82*t,20*t,50*t); rect (0, 0, 120*t,92*t); stroke (255); noFill(); rect(2*t,2*t,116*t,88*t); bruit.Dessiner(); stroke(0); fill(0); strokeWeight(3); rect(25*t,132*t,70*t,3*t); popMatrix(); } }