float x = 0.0; int y = 0; void setup(){ size(500, 500); background(255); smooth(); } void draw() { fill(255); ellipse(250, 400, 150, 50); stroke(0, 50 ,190); line(150, 50, 250, 200); line(350, 50, 250, 200); line(250, 200, 250, 400); line(251, 200, 250, 400); line(249, 200, 250, 400); stroke(85, 12, 35); line(250-2*x/3, 200-y, 250+2*x/3, 200-y); if(y < 130){ x++; y++; }else{ x=0; y=0; } }