//Project 0 float horizon; float sunX, sunY; float maxX, maxY; // SETUP: size size (500,400) ; horizon= height/3; //draw shapes and colors background (0,255,255); fill (255,255,0); point (35,40); fill (225,225,0); //Draw scene draw (); //scene sky & grass ellipse (30,30, 30,30); ///sun fill (255,255,0); //grass fill (20,200,100); rect(0,horizon, width, height-horizon); fill (255,255,0); //house fill (255,0,0); rect (100,horizon-60, 100, 60); triangle (90, horizon-60, 150, horizon-90, 210, horizon-60); fill (0,85,128); stroke (0); rect (120,horizon-40,20,40); //door fill (255); rect (125, horizon-35,10,15); //windows rect (160,horizon-40,20,20); draw (); stroke(0); fill (255,0,0); ///tree fill (126,46,31); rect(400,65,50,140); fill (126,46,31); fill (0,128,0); ellipse (425,horizon-50,85,110); fill (0,128,0); //apples fill (255,0,0); ellipse (425,horizon-80,20,20); ellipse (445, horizon-55, 20,20); ellipse (400,horizon-45,20,20); ellipse (425,horizon-15,20,20); ///Draw: dog draw (); fill (166,83,41); stroke (255); rect (250,250, 60,30); //body rect (235,220, 35,30); //head draw(); //Aaliyah's body ellipseMode (CENTER); rectMode (CENTER); stroke (0); fill (165,61,186); rect (200,100,30,100); fill (216,154,91); ellipse (200,70,60,60); fill (61,61,186); ellipse (210,70,15,20); //eyes ellipse (185,70,16,20); stroke (0);