Skip to content

Instantly share code, notes, and snippets.

@allisonburtch
Created October 1, 2013 03:27
Show Gist options
  • Save allisonburtch/6773497 to your computer and use it in GitHub Desktop.
Save allisonburtch/6773497 to your computer and use it in GitHub Desktop.
first thing i ever coded. reminder that i've come a long way and to never ever do this again.
void setup(){
size (1100,700);
background(255);
fill (0);
strokeWeight (2);
fill (255);
}
void draw(){
rect (500,500,500,40); //first middle, big rectangle (0)
line (475,455, 550,455); //horizontal line (1) - L SHAPE
line (550,455, 550, 495); //verticle line
line (550,495, 495,495); //horizontal line
line (495,495, 495,580);//verticle line
line (475,455,475,580); //verticle line
line (475,580,495,580); //bottom horizontal line
rect (555,475,45,20); //small white rectangle 2
fill(0); //small black rectangle3
rect (555+50, 475, 85, 20);
fill(255); //small white rectangle4
rect (555+50+90,475,45,20);
rect (555,400,150,70); //5 big one
fill(0); //18,19,20,21,22,23 long horizontals
rect (555,380,150,15);
rect (555,360,150,15);
fill(255);
rect(555,340,150,15);
rect(555,320,150,15);
rect(555,300,150,15);
fill(255);
rect(558,382,145,10); //WHITe rectangle centered over bottom black one
fill(255);
rect (710,300,12,170); //6 tall verticle
rect (727,300,12,170); //7 tall verticle
line (745,350,745,495); //2nd L Shape
line (760,350,760,470); //
line (745,350,760,350); //
line (760,470,815,470);
line (815,470, 815,495);
line (745,495,815,495);
fill(255);
rect (765,300,50,165); //9 big
fill (0); //small black rect inside bigger one 10
rect ( 770,440,40,20);
rect (745,300,15,45); //9 -small black rect between 6 and 7
fill(255);//square with six squares in it 10-17
rect (400,300,150,150);
rect (405,305,20,20);
fill(255);
rect (405+24,305,20,20);
fill(0);
rect (433,309,12,12); //small black square in small white one
rect (405+48,305,20,20);
fill(255);
rect (405+50,307,16,16); //small white square in small black one
rect (405+72,305,20,20);
fill(0);
rect (405+96,305,20,20);
fill(255);
rect (405+120,305,20,20);
line (395,295, 395,455 ); // first U shape 24
line(395,455,470,455); //horizontal botton
line(395,295,865,295); //horizontal top
line(470,455, 470,485);
line (330,485,470,485);
line(330,240,330,485);
line (330,240,865,240);
line (865,240,865,295);
line (820,300, 820,495); //fat lower D shape, x/y top left) 25
line (820,300,870,300);
line (870,300,870,200);
line (820,495,940,495);
line (940,495,940,200);
line (870,200,940,200);
rect (825, 305, 10,185); //rect inside of it
rect (870,20,70,70); //fatty at top/middle square, rectangle beneath 26, 27
rect (870,95,70,100);
rect (945,20,15,15); //lil tiny square at top
fill(0);
rect (945,40,15,455); //tall skinny black
fill(255);
rect (965,20,15,475); //it's getting way to late to be programming
rect (1045,70,15,600); //tall goes toward bottom
rect (985,5,90,60); //lilfatty at very top
rect (985,70,55,55);
fill(0);
rect (1025,75,10,45);
fill(255);
rect (985,70+60,55,55);
fill(0);
rect (985,70+120,55,55);
fill(255);
rect (985,70+180,55,55);
rect (985,310,55,185);
rect (1005,495,35,60);
fill (255); //white square in black square
rect (990,70+125,45,45);
fill(0);
rect (990, 315, 10,175); //lil tiny rect in other shape
stroke(255);
strokeWeight (3);
line(1007.5,495,1037.5,495);
stroke(0); // FIRST top left
fill(255);
strokeWeight(2);
rect (10,10,45,45);
rect(10,60,45,45);
rect(10,110,45,145);
fill(0);
rect(15,115,10,135);
fill(255);
rect(60,5,30,30);
rect (95,5,30,30);
rect (130,15,50,50);
rect (185,15,115,15);
rect( 185,35,115,30);
fill(0);
rect (130, 5, 170,5);
fill(255);
rect (305,15,20,250);//tiny rect top left
fill(0);
rect (305,5,20,5);
fill (0);
rect (310,20,10,240);
fill (255);
rect (330,5,35,230);//L SHAPE,TOP MIDDLE
rect(330,200,200,35);
stroke(255);
strokeWeight(3); //WHITE LINE BLURRING RECTANGLES
line(332.4,200,362.4,200);
strokeWeight(2);
fill(0);
rect (333,8,29,29);
stroke(0); //left top backwards L
fill(255);
rect (60, 40,65,250);
rect (10,260,115,70);
stroke(255);
strokeWeight(3); //WHITE LINE BLURRING RECTANGLES
line(62.7,260,122.5,260);
stroke(0);
strokeWeight(2);
rect(130, 70, 50,50);//THIRD COLUMN FROM LEFT, BUNCHA SQUARES
fill(0);
rect(130,125,50,10);
fill(255);
rect(130,140,50,50);
rect(130,195,50,10);
fill(0);
rect(130,210,50,150);
fill(255);
rect(140,220,30,130);
rect(185,70,35,20);
//fourth column, J
rect(185,95,35,330);
rect (60,335,65,90);
smooth();
rect(60,365,160,90);
strokeWeight(3);
stroke(255);
smooth();
line(62.55,365,122.7,365);
line(187.5,365,217.6,365);
strokeWeight(2);
stroke(0);//column3 bottom big square with black square in it
rect(175,460,150,150);
fill(0);
rect (290,575,30,30);
rect(225,70,50,320);//fucking long black rect columb 5 with 7 squares in it
fill(255);
rect(230,75,40,40);
rect(230,120,40,40);
rect(230,165,40,40);
rect(230,210,40,40);
rect(230,255,40,40);
rect(230,300,40,40);
rect(230,345,40,40);
stroke(0);
strokeWeight(2);
rect(225,395,100,60);
beginShape();//6th column, b shape
vertex(280,70);
vertex(280,390);
vertex(325,390);
vertex(325,270);
vertex(300,270);
vertex(300,70);
vertex(280,70);
endShape();
rect (300,400,20,20);//small square underneath
fill(0);
rect (5,335,15,50);
fill(255);
rect (25,355,15,200);
rect(5,390,15,95);
rect(5,490,15,15);
rect(5,510,15,15);
fill(0);
rect(5,530,15,15);
rect(5,550,15,15);
rect(25,560,145,20); //small ones bottom left
fill(255);
rect(25,585,145,15);
fill(0);
rect(25,605,145,45);
fill(255);
rect(30,610,135,35);
rect(25,655,145,15);
fill(0);
rect(25,675,145,20);
rect(5,655,15,40);
fill(0);
fill(255);
rect(25,335,30,15);
rect(5,570,15,80);
beginShape();
vertex(45,355);//2nd column bottom
vertex(55,355);
vertex(55,460);
vertex(170,460);
vertex(170,555);
vertex(45,555);
vertex(45,355);
endShape();
rect(175,615,80,80); //Squares! 4-6th collumb bottom
rect(260,615,80,80);
rect(345,615,80,80);
rect(430,615,80,80);
fill(0);
rect(264.5,657,32.5,32.5);
rect(302.5,657,32.5,32.5);
fill(255);
rect(306,661,25,25);
rect (330,490,100,100);
beginShape();
vertex(330,595);//on bottom, thrid column ish L shape with rectangle inside
vertex(330,610);
vertex(470,610);
vertex(470,490);
vertex(435,490);
vertex(435,595);
vertex(330,595);
endShape();
fill(0);
rect(450,495,15,110);
rect(435,665,70,25); //small black rectangle on bottom left in 4th square
rect(475,585,35,25);
fill(255);
rect(500,545,10,35);
strokeWeight(5);//highlighted black rectangle
rect(516,545,450,25);
strokeWeight(2);
rect(973,545,27,25);
fill(0);
rect(1005,560,35,10);
fill(255);
rect(1015,575,25,120);
fill(255);
rect(515,575,120,120);//BOTTOM FOUR SQUARES
rect(520,670,20,20);
rect(520+25,670,20,20);
fill(0);
rect(545+25,670,20,20);
fill(255);
rect(515+125,575,120,120);
rect(510+255,575,120,120);
fill(0);
rect(765+125,575,120,120);
fill(255);
rect(905,590,90,90);
beginShape();
vertex(1045,675);//bottom right
vertex(1045,695);
vertex(1095,695);
vertex(1095,500);
vertex(1065,500);
vertex(1065,675);
vertex(1045,675);
endShape();
fill(0);
rect(1070,505,20,100);
rect(1065,70,30,75);
fill(255);
rect(1065,150,30,75);
rect(1065,230,30,75);
rect(1065,310,30,75);
fill(0);
rect(1065,390,30,75);
fill(255);
rect(1070,395,20,65);
rect(1065,470,30,25);
rect(1080,5,15,60);
rect(370,10,50,50);
beginShape();
vertex(425,10);
vertex(455,10);
vertex(455,195);
vertex(370,195);
vertex(370,65);
vertex(425,65);
vertex(425,10);
endShape();
fill(0);
rect(460,5,480,10);
fill(255);
rect(945,5,35,10);
strokeWeight(4);
beginShape();
vertex(460,20);
vertex(660,20);
vertex(660,60);
vertex(500,60);
vertex(500,195);
vertex(460,195);
vertex(460,20);
endShape();
strokeWeight(2);
fill(0);
rect(467,26,26,160);
fill(255);
rect(505,65,200,20);
rect(690,70,10,10);
rect(505,90,200,20);
rect(690,95,10,10);
rect(505,115,200,20);
rect(690,120,10,10);
fill(0);
rect(505,140,200,20);
fill(255);
beginShape();
vertex(665,20);
vertex(665,60);
vertex(710,60);
vertex(710,160);
vertex(755,160);
vertex(755,20);
vertex(665,20);
endShape();
rect(505,165,360,30);
rect(535,200,35,35);
rect(575,200,35,35);
rect(575+40,200,35,35);
fill(0);
rect(575+80,200,35,35);
fill(255);
rect(575+85,205,25,25);
fill(0);
rect(575+120,200,35,35);
rect(730,200,70,35);
fill(255);
rect(805,200,60,35);
rect(810,205,50,25);
rect(760,20,20,140);
rect(785,20,20,140);
rect(810,20,20,140);
fill(0);
rect(835,20,30,140);
fill(255);
rect(840,25,20,130);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment