xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
value1 = 90
value2 = 100
value3 = 100
value4 = 40
value5 = 100
value7 = 1
tongue = loadImage("cartoon-tongue-png-1.png");
mouth = loadImage("lips-with-transparent-background-16.png");
value8 = 820
value9 = 100
plant = loadImage("pngwave.png");
}
function draw() {
background(100);
image(plant, -50, 0, plant.width/1.7, plant.height/1.7);
stroke(0)
fill(255, 224, 196);
strokeWeight(0);
ellipse(840, 420, 600, 300);
strokeWeight(1);
ellipse(600, 300, 280, 290);
fill(255, 250, 100);
ellipse(600, 120, value1, value2)
fill(value9, 200, value3)
ellipse(560, 260, 20, 20)
ellipse(650, 260, 20, 20)
image(tongue, 520, 250, tongue.width/11, tongue.height/11)
strokeWeight(20);
stroke(255, 224, 196)
line(780, 280, 820, 220)
line(820, 220, value8, 150)
line(450, 500, 600, 500)
line(450, 500, 490, 400)
fill(0);
line(1000, 540, 1250, 540);
line(1170, 240, 1120, 440);
line(1170, 240, 1200, 450);
}
function mouseMoved() {
value1 = value1 + 1
value2 = value2 + 1
value3 = random(0, 255)
value9 = random(0, 250)
value6 = random(40, 100)
value7 = random(0, 1)
value8 = random(750, 850)
if(value1 > 100) {
value1 = 90
value2 = 100
if(value7 === 0) {
}
}
}