Exercise One: Week 1

January 11, 2011

Balance-Symmetrical
E1_Symmetrical_ali.png

size(250, 250);
noStroke();
smooth();
background(0);

rectangles from least to greatest going towards center from top
rect(0,0,10,10);
fill(245);
rect(10,5,15,15);
fill(240);
rect(25,10,20,20);
fill(230);
rect(42,15,25,25);
fill(220);
rect(62,20,33,33);
fill(200);
rect(82,25,40,40);
fill(250);
rect(240,0,10,10);
fill(245);
rect(225,5,15,15);
fill(240);
rect(207,10,20,20);
fill(230);
rect(187,15,25,25);
fill(220);
rect(165,20,33,33);
fill(200);
rect(135,25,40,40);
the rectangle on the foreground
fill(170);
rect(102,30,50,50);

rectangles from least to greatest going towards center from bottom
fill(250);
rect(0,240,10,10);
fill(245);
rect(10,230,15,15);
fill(240);
rect(25,220,20,20);
fill(230);
rect(42,210,25,25);
fill(220);
rect(62,197,33,33);
fill(200);
rect(82,185,40,40);
fill(250);
rect(240,240,10,10);
fill(245);
rect(225,230,15,15);
fill(240);
rect(207,220,20,20);
fill(230);
rect(187,210,25,25);
fill(220);
rect(165,197,33,33);
fill(200);
rect(135,185,40,40);
the rectangle on the foreground
fill (170);
rect (102,170,50,50);

strokeWeight (.5);
stroke(90);
diagonal lines for upper section of rectangles
line(0,0,128,80);
line(0,0,128,70);
line(0,0,128,60);
line(0,0,128,50);
line(0,0,128,40);
line(128,80,250,0);
line(128,70,250,0);
line(128,60,250,0);
line(128,50,250,0);
line(128,40,250,0);

diagonal lines for lower section of rectangles
line(0,250,128,210);
line(0,250,128,200);
line(0,250,128,190);
line(0,250,128,180);
line(0,250,128,170);
line(128,210,250,250);
line(128,200,250,250);
line(128,190,250,250);
line(128,180,250,250);
line(128,170,250,250);

fill(15,100);
circles in the centre
ellipse(125,125,150,150);
ellipse(125,125,110,110);
ellipse(125,125,55,55);
strokeWeight(1);
ellipse(70,70,60,60);
ellipse(70,180,60,60);
ellipse(180,70,60,60);
ellipse(180,180,60,60);

fill(45,100);
circles at sides
strokeWeight(.25);
ellipse(25,125,40,40);
ellipse(45,125,30,30);
ellipse(225,125,40,40);
ellipse(205,125,30,30);
rectangles at sides
strokeWeight(1);
rect(170,120,15,15);
rect(150,122,10,10);
rect(65,120,15,15);
rect(89,122,10,10);

Balance-Asymmetrical
E1_Asymmetrical_ali.png
size(250,250);
smooth();
background(211,45,109);

strokeWeight(5);
stroke(255,255,255);
fill(164,39,255,116);
triangle(200,2,70,255,255,255);

noStroke();
fill(255,21,21,200);
ellipse(180,200,100,100);
stroke(25,18,255,170);
ellipse(190,210,70,70);
strokeWeight(3);
stroke(211,45,109);
ellipse(200,220,30,30);

strokeWeight(2);
stroke(0,0,0,250);
line(250,250,180,50);
line(250,250,170,67);
line(250,250,155,97);
line(250,250,135,135);
line(250,250,115,175);

line(0,0,180,50);
line(0,0,170,67);
line(0,0,155,97);
line(0,0,135,135);
line(0,0,115,175);

stroke(0,217,252,180);
fill(0,0,0,0);
strokeWeight(4);
triangle(-5,150,0,-50,120,120);

strokeWeight(5);
stroke(255,255,255,180);
line(150,0,0,130);
line(200,0,0,180);

strokeWeight(2);
fill(255,21,21,158);
ellipse(40,40,80,80);

Rhythm-Ascending
ascend.png
size(250,250);
smooth();
background(0);
noStroke();

coloured circles
fill(236,255,31,150);
ellipse(195,255,87,87);
fill(113,252,0,145);
ellipse(250,160,67,67);
fill(0,252,115,130);
ellipse(190,120,45,45);
fill(26,211,255,100);
ellipse(130,115,35,35);
fill(26,130,255,90);
ellipse(85,120,25,25);
fill(36,41,255,80);
ellipse(50,120,20,20);
fill(110,49,245,70);
ellipse(40,100,15,15);
fill(146,49,245,50);
ellipse(50,80,10,10);

coloured circles from right to left
fill(255,140,31,130);
ellipse(135,200,55,55);
fill(255,41,3,110);
ellipse(140,140,35,35);
fill(255,3,100,110);
ellipse(125,105,23,23);
fill(183,3,255,90);
ellipse(105,85,17,17);
fill(77,3,255,80);
ellipse(75,75,12,12);

stroke(70);
strokeWeight(1);
lines going downwards
line(40,70,0,250);
line(40,70,30,250);
line(40,70,60,250);
line(40,70,80,250);
line(40,70,100,250);
line(40,70,120,250);
line(40,70,130,250);
line(40,70,140,250);
line(40,70,150,250);
line(40,70,160,250);
line(40,70,170,250);
line(40,70,180,250);
line(40,70,190,250);
line(40,70,200,250);
line(40,70,210,250);
line(40,70,220,250);
line(40,70,230,250);
line(40,70,240,250);
line(40,70,245,250);
line(40,70,250,250);
line(40,70,250,245);
line(40,70,250,240);
line(40,70,250,245);
line(40,70,250,240);
line(40,70,250,235);
line(40,70,250,230);

stroke(70);
strokeWeight(.5);
lines going towards right
line(40,70,250,225);
line(40,70,250,228);
line(40,70,250,225);
line(40,70,250,221);
line(40,70,250,218);
line(40,70,250,215);
line(40,70,250,212);
line(40,70,250,209);
line(40,70,250,206);
line(40,70,250,201);
line(40,70,250,197);
line(40,70,250,192);
line(40,70,250,187);
line(40,70,250,182);
line(40,70,250,177);
line(40,70,250,172);
line(40,70,250,164);
line(40,70,250,157);
line(40,70,250,147);
line(40,70,250,135);
line(40,70,250,123);
line(40,70,250,110);
line(40,70,250,95);
line(40,70,250,80);
line(40,70,250,65);
line(40,70,250,45);
line(40,70,250,25);
line(40,70,250,0);

strokeWeight(3);
stroke(0,0,0,100);
fill(255,255,255,0);
ellipse(210,210,210,210);
ellipse(185,185,185,185);
ellipse(160,160,160,160);
ellipse(130,130,130,130);
ellipse(100,100,100,100);
ellipse(65,65,65,65);

Rhythm-Merge
E1_Merge_ali.png
size(250,250);
smooth();
background(210,210,216);

stroke(0,0,0,80);
line(90,0,90,90);
stroke(0,0,0,85);
line(98,0,98,70);
stroke(0,0,0,150);
line(75,0,75,50);
stroke(0,0,0,150);
line(130,0,130,115);
stroke(0,0,0,100);
line(120,0,120,75);
stroke(0,0,0,170);
line(110,0,110,135);
stroke(0,0,0,150);
line(150,0,150,85);
stroke(0,0,0,200);
line(145,0,145,105);
stroke(0,0,0,70);
line(160,0,160,100);
stroke(0,0,0,150);
line(170,0,170,65);

strokeWeight(2);
purple rectangle outlines
stroke(15,41,255,100);
fill(0,0,0,0);
rect(60,60,10,10);
rect(100,80,20,20);
rect(125,30,30,30);
rect(85,10,15,15);
rect(140,90,10,10);
rect(150,110,20,20);
rect(125,30,10,10);
rect(108,135,5,5);
rect(80,105,12,12);
rect(125,150,10,10);
rect(110,170,7,7);

strokeWeight(1);
stroke(0,0,0);
line(100,250,100,200);
line(180,250,180,180);
line(120,250,120,125);
line(160,250,160,160);

stroke(0,0,0,100);
more transparent bottom lines
line(130,250,130,150);
line(70,250,70,230);
line(80,250,80,180);
line(140,250,140,200);
line(190,250,190,230);

strokeWeight(1.5);
pink circles
stroke(255,85,187,150);
ellipse(150,250,45,45);
ellipse(120,230,30,30);
ellipse(70,200,20,20);
ellipse(100,160,10,10);
strokeWeight(2);
ellipse(85,260,80,80);
ellipse(155,180,25,25);
ellipse(125,120,8,8);
ellipse(105,210,45,45);
ellipse(185,230,70,70);

strokeWeight(4);
stroke(255,255,255,80);
white circles
ellipse(120,10,150,150);
ellipse(120,0,120,120);
ellipse(120,-15,100,100);

stroke(255,255,255,90);
white rectangles
rect(55,170,140,170);
rect(75,190,100,190);
rect(90,210,70,210);