xxxxxxxxxx
var r;
var g;
var b;
var x;
var y;
var z;
var k;
var o;
var p;
var q;
var diametro;
var diam;
var braizq;
var brader;
function setup() {
createCanvas(800, 800);
background('#BCE6E9');
}
function draw() {
clear();
stroke('#4D673F');
strokeWeight(5);
fill('#738760');
quad(0,460,800,460,800,800,0,800);
stroke('#2E2B2B');
strokeWeight(5);
fill('#5F5F5F');
ellipse(400,400,diam,500);
diam=map(mouseX,0,500,450,460);
stroke('#282828');
strokeWeight(5);
fill('#FFFFFF');
circle(500,300,100);
stroke('#282828');
strokeWeight(5);
fill('#fff'),
circle(300,300,100);
stroke('#000000');
strokeWeight(5);
fill(color(r,g,b));
circle(x,y,40);
r = map(mouseX, 0, width, 0, 255);
b = map(mouseY, 0, height, 0, 255);
g = noise(frameCount * 0.005);
g = map(g, 0, 1, 0, 255);
x=noise(frameCount*0.005)*300;
x=map(x,0,800,255,450);
y=300
stroke('#000000');
strokeWeight(5);
fill(color(r,g,b));
circle(x,y,40);
r = map(mouseX, 0, width, 0, 255);
b = map(mouseY, 0, height, 0, 255);
g = noise(frameCount * 0.005);
g = map(g, 0, 1, 0, 255)
x=noise(frameCount*0.005)*500
x=map(x,0,800,450,550);
y=300;
stroke('#4D4A48');
strokeWeight(5);
fill('#ffff');
ellipse(400,500,diametro,298);
diametro=map(mouseX,0,298,380,390)
stroke('#000000');
strokeWeight(5);
fill('#333333');
ellipse(400,300,50,20);
fill('#fff');
circle(z,k,20);
z=noise(frameCount*0.005)*299;
z=map(z,0,800,255,450);
k=290;
fill('#fff');
circle(z,k,20);
z=noise(frameCount*0.005)*499;
z=map(z,0,800,450,550);
k=290
stroke ('#2E2B2B');
strokeWeight(5);
fill('#5F5F5F');
beginShape();
vertex(195,300);
vertex(200,150);
vertex(250,100)
vertex(290,185);
endShape();
stroke('#2E2B2B');
strokeWeight(5);
fill('#5F5F5F');
beginShape();
vertex(605,300);
vertex(599,150);
vertex(550,100);
vertex(510,185);
endShape();
line(230,300,150,p);
p=noise(frameCount*0.04)*310;
p=map(p,0,800,280,310);
line(230,320,150,o);
o=noise(frameCount*0.04)*330
o=map(o,0,800,310,340);
line(230,340,150,q);
q=noise(frameCount*0.04)*360;
q=map(q,0,800,340,370);
line(570,300,650,p);
p=noise(frameCount*0.04)*310;
p=map(p,0,800,280,310);
line(570,320,650,o);
o=noise(frameCount*0.04)*330;
o=map(o,0,800,310,340);
line(570,340,650,q);
q=noise(frameCount*0.04)*360;
q=map(q,0,800,340,370);
line(braizq,480,220,390);
braizq=map(mouseX,0,210,210,207);
line(brader,480,580,390);
brader=map(mouseX,0,580,590,597);
fill('#5F5F5F');
ellipse(270,600,120,130);
ellipse(530,600,120,130);
stroke('#66564C');
strokeWeight(10);
line(260,450,280,440);
line(280,440,300,450);
line(340,450,360,440);
line(360,440,380,450);
line(430,450,450,440);
line(450,440,470,450);
line(510,450,530,440);
line(530,440,550,450);
line(300,500,320,490);
line(320,490,340,500);
line(380,500,400,490);
line(400,490,420,500);
line(470,500,490,490);
line(490,490,510,500);
}