float w=80, h=60; float y=20; float x=40; float surface; float legX=x-w/2; surface= random ( height/4, width/2); size(800,700); fill(255,0,0); strokeWeight(0); triangle(surface+20, width-5, surface+10, width-20, surface+5, width-5); triangle(width-5, surface+40, width-30, surface+20, width-5, surface+5); ellipse(x,y,w,h); strokeWeight(3); line(legX, y+h/2, legX+foot, );