Assignment 5

void setup(){
size(500, 500); //width, height;
}
void draw(){ //Happens once every frame
color mycolor = color(255, 0, 200); //my_color
color ellipsecolor = color(0, 0, 255);
color rectcolor = color(255, 255, 255);
color rcolor = color(200, 0, 255);
color strokecolor = color(0, 0, 0);
float one = 115;
float two = 250;
float three = 300;
float four = 200;
float five = 70;
float six = 105;
float seven = 100;
float eight = 350;
float nine = 90;
float ten = 400;
float eleven = 50;
float twelve = 60;
float thirteen = 130;
float fourteen = 160;
float a = 80;
float b = 150;
float c = 170;
float d = 20;
float e = 3;
float f = 6;
float g = 12;
float h = 18;
float i = 120;
float j = 7;
float k = 10;
float l = 274;
float m = 23;
float n = 28;
float o = 260;
float p = 40;
float q = 158;
float r = 285;
float s = 280;
float t = 178;
float u = 164;
float v = 1;
float w = 295;
float x = 110;
float z = 8;
float other = 181;
float othera = 2;
float otherb = 9;
float otherc = 6;
float otherd = 169;
float othere = 277;
translate(random(30, 130), 100);
background(mycolor);
strokeWeight(f); line(one, eight, thirteen - 10, ten); noStroke(); rectMode (CORNER); rect(eleven, twelve, thirteen, fourteen);
noStroke(); shapeMode(CORNER); triangle(c, b, b, a, four, b);
noStroke(); rectMode(CORNER); fill(mycolor); rect(b, c, eleven, d, e, f, g, h);
ellipseMode(CORNER); fill(ellipsecolor); ellipse(b, i, j, k);
noStroke(); rectMode(CORNER); fill(rectcolor); rect(l - 4, b, m, n);
noStroke(); rectMode (CORNER); noFill(); stroke(strokecolor); rect(o, thirteen, p, five);
noStroke(); ellipseMode (CORNER); fill(rcolor); ellipse(l, q, e, e);
ellipse(r, q, e, e);
rectMode(CORNER); rect(othere, otherd, otherb, otherc, othera, othera, g, h);
rectMode(CORNER); fill(strokecolor); rect(s, t, e, h); rect(s + 1, u, v, othera);
rect(w, x, z, d);
}