void setup() {
size(500,550);
background(30,(random(140)),90);
rectMode(CENTER);
rect((random(600)),(random(220)),80,50);//random
}
void draw() {
stroke(20,(random(120)),120,70);//color del borde
strokeWeight(8);//ancho del borde
smooth();
fill((random(200)),70,200,90);//color del fondo
rectMode(CENTER);
rect(mouseX,mouseY,80,50);//random
fill((random(300)),(random(190)),18,90);//el ultimo numero hace trasparencia
ellipse((random(900)),(random(320)),50,50);
delay(300);
}
No hay comentarios:
Publicar un comentario