println("Assignment 5");
int drawing_size= 500;
size(drawing_size, drawing_size);
int circle_size1= width/2;
int rectangle_size= width, height;
color back_color= color(144, 221, 244);
color fill_color1= color(144, 221, 27);
color fill_color2= color(237, 221, 144);
color fill_color3= color(0, 0, 0);
color fill_color4= color(255, 255, 255);
color stroke_color1= color(237, 221, 144);
color stroke_color2= color(0, 0, 0);
float random_color= random(0, 200);
println("1. Background");
background(random_color);
noStroke();
fill(fill_color4);
ellipse(drawing_size/5, drawing_size/5, 80, 80);
ellipse(drawing_size/3.5, drawing_size/4.8, 50, 50);
ellipse(drawing_size/8.5, drawing_size/4.8, 50, 50);
ellipse(drawing_size/1.25, drawing_size/3.3, 75, 75);
ellipse(drawing_size/1.4, drawing_size/3.1, 50, 50);
ellipse(drawing_size/1.13, drawing_size/3.1, 50, 50);
println("1.2 Grass");
fill(fill_color1);
rect(0, drawing_size/1.5, 500, 300);
println("2. Ellipse");
fill(fill_color2);
ellipseMode (CENTER);
ellipse(circle_size1, circle_size1, 100, 100);
ellipse(circle_size1, circle_size1*1.35, 175, 150);
println("3. Ears");
triangle(205, 225, 225, 150, 235, 225);
triangle(255, 225, 275, 150, 295, 225);
println("4. Tail");
noFill();
stroke(stroke_color1);
strokeWeight(8);
bezier(320, 350, 400, 400, 300, 300, 400, 350);
println("5. Face");
noStroke();
fill(random_color);
ellipse(circle_size1/1.1, drawing_size/2.05, 10, 10);
ellipse(circle_size1/.9, drawing_size/2.05, 10, 10);
triangle(245, 250, 250, 260, 255, 250);
stroke(random_color);
strokeWeight(1);
line(242, 250, 235, 248);
line(242, 255, 235, 257);
line(257, 250, 263, 248);
line(257, 255, 263, 257);
save("assignment4part2.jpg");