Hello,

My name is Alyson Cardenas

profile picture

My prompt is "A Desperate Animal"


GORDI

print("Background");
background (250, 248, 202);
size(700,500);

println ("1. Fence");
fill (204, 170, 108);
noStroke();
rect (0, 100, 700, 100);
fill (204, 170, 108);
noStroke();
rect (0, 0, 100, 500);
fill (204, 170, 108);
noStroke();
rect (110, 0, 100, 500);
fill (204, 170, 108);
noStroke();
rect (220, 0, 100, 500);
fill (204, 170, 108);
noStroke();
rect (330, 0, 100, 500);
fill (204, 170, 108);
noStroke();
rect (440, 0, 100, 500);
fill (204, 170, 108);
noStroke();
rect (550, 0, 100, 500);
fill (204, 170, 108);
noStroke();
rect (660, 0, 100, 500);

println ("2. Grass");
fill (7, 140, 34);
noStroke ();
triangle (0, 500, 58, 150, 50, 500);
fill (7, 140, 34);
noStroke ();
triangle (200, 500, 200, 300, 250, 500);
fill (7, 140, 34);
noStroke ();
triangle (300, 500, 400, 100, 350, 500);
fill (7, 140, 34);
noStroke ();
triangle (600, 500, 550, 150, 650, 500);
fill (36, 189, 66);
noStroke ();
triangle (100, 500, 79, 239, 50, 500);
fill (36, 189, 66);
noStroke ();
triangle (199, 500, 120, 90, 145, 500);
fill (36, 189, 66);
noStroke ();
triangle (550, 500, 379, 239, 450, 500);
fill (36, 189, 66);
noStroke ();
triangle (700, 500, 679, 239, 675, 500);
fill (7, 140, 34);
noStroke ();
triangle (500, 500, 550, 250, 545, 500);
fill (7, 140, 34);
noStroke ();
triangle (110, 500, 79, 190, 190, 500);

println ("3. Body and Tail");
noFill ();
stroke (7, 7, 7);
strokeWeight (10);
arc(340, 450, 190, 245, 0, PI+QUARTER_PI, OPEN);
fill (0, 0, 0);
noStroke();
ellipse(289, 500, 250, 280);

println ("4. Face");
fill (0, 0, 0);
noStroke();
ellipse(289, 246, 250, 290);
fill (10, 10, 10);
stroke (10, 10, 10);
strokeWeight (15);
triangle(190, 115, 218, 160, 246, 115);
fill (10, 10, 10);
stroke (10, 10, 10);
strokeWeight (15);
triangle(340, 115, 368, 160, 396, 115);
fill (255, 255, 255);
noStroke();
ellipse(240, 246, 85, 145);
fill (255, 255, 255);
noStroke();
ellipse(340, 246, 85, 145);
fill (105, 66, 17);
noStroke();
ellipse(245, 226, 65, 65);
fill (105, 66, 17);
noStroke();
ellipse(345, 226, 65, 65);
fill (0, 0, 0);
triangle(340, 115, 368, 160, 396, 115);
fill (0, 0, 0);
triangle(190, 115, 218, 160, 246, 115);

println ("5. Mouth");
fill (8, 8, 8);
noStroke();
ellipse(289, 400, 140, 145);
fill(191, 138, 157);
arc(300, 320, 120, 245, 0, PI+QUARTER_PI, OPEN);
fill (10, 10, 10);
noStroke();
ellipse(240, 320, 145, 190);
fill (10, 10, 10);
noStroke();
ellipse(340, 320, 145, 190);
fill (10, 10, 10);
noStroke();
ellipse(290, 260, 125, 100);

fill (0, 0, 0);
triangle(260, 225, 288, 270, 316, 225);

println ("6. Woof");
noFill ();
stroke(255, 255, 255);
ellipse(550, 175, 200, 145);
fill (255, 255, 255);
ellipse(450, 250, 40, 40);
fill (0, 0, 0);
textSize (50);
text("Woof!", 485, 195);

save("project4_gordi.jpg");