Animated owl

[p5js code canvas]
int x;
int y;
int f;
int g;
int r;
int e;
void setup(){
size(200,150);
background(20,100,180,135);
}
void draw(){
background(20,100,180,135);
x=0;
y=0;
f=0;
g=0;
r=0;
e=0;
if((mouseX>=40)&(mouseX<160)&(mouseY>=20)&(mouseY<120)){ f=10; g=8; r=200; e=5; } if(mouseX>=110){
x=5;
}
else if(mouseX<90){ x=-5; } else{ x=0; } if(mouseX<5){ x=0; y=0; f=0; g=0; r=0; } if(mouseY>=40){
y=5;
}
else if(mouseY<20){ y=-5; f=10 } fill(230-r/3); rect(40,20,120,100); fill(240); ellipse(120,40,30+e,30+e); fill(240); ellipse(80,40,30+e,30+e); fill(0); ellipse(120+x,40+y,8+g,8+g); ellipse(80+x,40+y,8+g,8+g); fill(200, 130, 40); triangle(100,20,100,45,50,20-f); fill(180, 110, 40); triangle(100,20,100,45,150,20-f); fill(180, 60, 40); triangle(40,120,100,55,160,120); fill(250, 250-r, 13); triangle(93,50,100,65,107,50); fill(0); triangle(65,120,70,125,75,120); triangle(135,120,130,125,125,120); triangle(85,120,80,125,75,120); triangle(85,120,90,125,95,120); triangle(115,120,120,125,125,120); triangle(115,120,110,125,105,120); }[p5js code canvas]

Erasmus+ project 2015-2017