• fullscreen
  • processing_assignment.pde
  • size(640, 480);
    
    
    
    
    
    smooth ();
    background(255);
    
    fill(21,41,110);
    ellipse (500, -300, 1000,1000);
    
    
    
    
    fill(255);// WHITE Rectangle
    stroke(9,15,29);
    beginShape();
    vertex (88, 479);
    vertex (130, 479);
    vertex (326, 125);
    vertex (306, 114);
    vertex (306, 98);
    vertex (303, 96);
    endShape(CLOSE);
    
    
    smooth();// RED FIGURE
    stroke(9,15,29);
    fill(204,0,23);
    beginShape();
    vertex (248, 243);
    vertex (265,244);
    vertex (265,257);
    vertex (368, 268);
    vertex (371, 252);
    vertex (408, 255);
    vertex (408, 249);
    vertex (443, 251);
    vertex (444, 236);
    vertex (453, 235);
    vertex (453, 230);
    vertex (462, 229);
    vertex (462, 237);
    vertex (467, 237);
    vertex (467, 231);
    vertex (501, 234);
    vertex (502, 243);
    vertex (520, 244);
    vertex (521, 233);
    vertex (549, 236);
    vertex (546, 277);
    vertex (537, 277);
    vertex (535, 317);
    vertex (511, 315);
    vertex (510, 332);
    vertex (503, 332);
    vertex (503, 342);
    vertex (489, 340);
    vertex (490, 344);
    vertex (454, 341);
    vertex (455, 333);
    vertex (476, 335);
    vertex (476, 329);
    vertex (411, 323);
    vertex (412, 310);
    vertex (287, 299);
    vertex (284, 303);
    vertex (270, 301);
    vertex (269, 297);
    vertex (261, 296);
    vertex (261, 304);
    vertex (244, 303);
    endShape(CLOSE);
    
    beginShape();
    fill (9,15,29);
    vertex (87, 246);
    vertex (143, 221);
    vertex (151, 237);
    vertex (140, 244);
    vertex (183, 338);
    vertex (197, 332);
    vertex (213, 366);
    vertex (219, 364);
    vertex (232, 394);
    vertex (247, 389);// 10
    vertex (251, 396);
    vertex (258, 394);
    vertex (261, 402);
    vertex (255, 405);
    vertex (257, 409);
    vertex (263, 405);
    vertex (278, 437);
    vertex (270, 441);
    vertex (277, 457);
    vertex (288, 452);//20
    vertex (300, 479);
    vertex (174, 479);
    vertex (160, 450);
    vertex (169, 446);
    vertex (178, 466);
    vertex (183, 464);
    vertex (154, 403);
    vertex (166, 398);
    vertex (113, 282);
    vertex (108, 283);//30
    vertex (102, 269);
    vertex (106, 267);
    vertex (103, 260);
    vertex (96, 263);
    endShape();
    
    
    stroke(9,15,29); // grey rectangle
    fill(48,77,107);
    beginShape();
    vertex (0,114);
    vertex (52,62);
    vertex (79, 90);
    vertex (0,170);
    endShape ();
    
    stroke(9,15,29); // black rectangle
    fill(9,15,29);
    beginShape();
    vertex (46,56);
    vertex (59,43);
    vertex (102,86);
    vertex (89,100);
    endShape ();
    
    stroke(9,15,29); // black rectangle
    fill(9,15,29);
    beginShape();
    vertex (32,75);
    vertex (43,65);
    vertex (65,87);
    vertex (54,97);
    endShape ();
    
    stroke(9,15,29); // red rectangle
    fill(204,0,23);
    beginShape();
    vertex (32,75);
    vertex (39,69);
    vertex (48,77);
    vertex (41,84);
    endShape ();
    
    stroke(9,15,29); // white stoke
    fill(255);
    beginShape();
    vertex (44,88);
    vertex (55,77);
    vertex (57,80);
    vertex (46,90);
    endShape ();
    
    
    stroke(9,15,29); // white stoke
    fill(255);
    beginShape();
    vertex (0,170);
    vertex (6,163);
    vertex (16,173);
    vertex (0,191);
    endShape ();
    
    stroke(9,15,29); // black
    fill(0);
    beginShape();
    vertex (0,269);
    vertex (18,291);
    vertex (10,296);
    vertex (0,285);
    endShape ();
    
    stroke(9,15,29); // light blue
    fill(116,131,170);
    beginShape();
    vertex (2,327);
    vertex (30,303);
    vertex (49,326);
    vertex (16,352);
    endShape ();
    
    
    stroke(9,15,29); // blue
    fill(83,105,146);
    beginShape();
    vertex (0,285);
    vertex (35,329);
    vertex (0,356);
    endShape ();
    
    stroke(9,15,29); // dark blue
    fill(37,53,87);
    beginShape();
    vertex (30,313);
    vertex (26,308);
    vertex (0,327);
    vertex (0,336);
    endShape ();
    
    stroke(9,15,29); // black
    fill(0);
    beginShape();
    vertex (0,316);
    vertex (16,304);
    vertex (21,311);
    vertex (0,327);
    endShape ();
    
    stroke(9,15,29); // red
    fill(204,0,23);
    beginShape();
    vertex (21,353);
    vertex (45,353);
    vertex (45,424);
    vertex (22,424);
    endShape ();
    
    stroke(9,15,29); // black
    fill(0);
    beginShape();
    vertex (44,396);
    vertex (62,381);
    vertex (72,394);
    vertex (49,413);
    vertex (45,409);
    endShape ();
    
    stroke(9,15,29); // red
    fill(204,0,23);
    beginShape();
    vertex (52,390);
    vertex (55,387);
    vertex (65,400);
    vertex (62,402);
    endShape ();
    
    stroke(9,15,29); // blue
    fill(95,122,167);
    beginShape();
    vertex (45,404);
    vertex (52,398);
    vertex (58,406);
    vertex (50,414);
    vertex (44,409);
    endShape ();
    
    stroke(9,15,29); // blue
    fill(71,97,148);
    beginShape();
    vertex (74,440);
    vertex (131,415);
    vertex (137,429);
    vertex (82,454);
    
    endShape ();
    
    stroke(9,15,29); // black
    fill(0);
    beginShape();
    vertex (43,450);
    vertex (60,450);
    vertex (60,467);
    vertex (43,467);
    
    endShape ();
    
    stroke(9,15,29); // red
    fill(204,0,23);
    beginShape();
    vertex (56,458);
    vertex (64,458);
    vertex (64,460);
    vertex (56,460);
    endShape ();
    
    stroke(9,15,29); // black
    fill(0);
    beginShape();
    vertex (7,412);
    vertex (7,421);
    vertex (14,421);
    vertex (15,412);
    endShape ();
    
    stroke(9,15,29); 
    fill(169,170,200);
    beginShape();
    vertex (0,402);
    vertex (5,403);
    vertex (2,452);
    vertex (0,452);
    endShape ();
    
    
    stroke(9,15,29); 
    fill(112,139,168);
    beginShape();
    vertex (341,0);
    vertex (307,60);
    vertex (343,81);
    vertex (386,0);
    endShape ();
    
    stroke(9,15,29); 
    fill(0);
    beginShape();
    vertex (307,61);
    vertex (343,80);
    vertex (343,133);
    vertex (307,114);
    endShape ();
    
    
    stroke(9,15,29); 
    fill(22,56,81);
    beginShape();
    vertex (386,0);
    vertex (405,0);
    vertex (393,24);
    vertex (393,40);
    vertex (343,133);
    vertex (343,102);
    vertex (343,80);
    endShape ();
    
    stroke(9,15,29); // red
    fill(204,0,23);
    beginShape();
    vertex (352,108);
    vertex (345,119);
    vertex (292,88);
    vertex (298,78);
    endShape ();
    
    stroke(9,15,29); // red
    fill(204,0,23);
    beginShape();
    vertex (306,42);
    vertex (335,58);
    vertex (335,67);
    vertex (306,53);
    endShape ();
    
    stroke(9,15,29); 
    fill(69,110,140);
    beginShape();
    vertex (335,57);
    vertex (343,46);
    vertex (344,55);
    vertex (336,68);
    endShape ();
    
    
    stroke(9,15,29); //black
    fill(0);
    beginShape();
    vertex (336,58);
    vertex (343,45);
    vertex (316,32);
    vertex (306,42);
    endShape ();
    
    
    stroke(9,15,29); 
    fill(69,110,140);
    beginShape();
    vertex (307,32);
    vertex (326,40);
    vertex (325,48);
    vertex (306,40);
    endShape ();
    
    stroke(9,15,29); 
    fill(21,26,30);
    beginShape();
    vertex (325,41);
    vertex (334,30);
    vertex (334,40);
    vertex (326,49);
    endShape ();
    
    
    stroke(9,15,29); 
    fill(76,93,111);
    beginShape();
    vertex (307,32);
    vertex (327,41);
    vertex (332,30);
    vertex (314,22);
    endShape ();
    
    stroke(9,15,29); 
    fill(87,117,128);
    beginShape();
    vertex (307,28);
    vertex (315,31);
    vertex (315,23);
    vertex (308,20);
    endShape ();
    
    stroke(9,15,29); 
    fill(184,213,211);
    beginShape();
    vertex (315,23);
    vertex (319,18);
    vertex (318,26);
    vertex (315,30);
    endShape ();
    
    stroke(9,15,29); 
    fill(0);
    beginShape();
    vertex (307,19);
    vertex (314,23);
    vertex (319,16);
    vertex (312,13);
    endShape ();
    
    stroke(9,15,29); 
    fill(225);
    beginShape();
    vertex (394,25);
    vertex (407,31);
    vertex (407,47);
    vertex (394,41);
    endShape ();
    
    stroke(9,15,29); // red
    fill(204,0,23);
    beginShape();
    vertex (394,25);
    vertex (407,31);
    vertex (424,2);
    vertex (417,0);
    vertex (409,0);
    endShape ();
    
    stroke(9,15,29); 
    fill(0);
    beginShape();
    vertex (407,31);
    vertex (424,2);
    vertex (425,17);
    vertex (407,47);
    endShape ();
    
    stroke(9,15,29); 
    fill(225);
    beginShape();
    vertex (441,0);
    vertex (394,83);
    vertex (429,102);
    vertex (485,0);
    endShape ();
    
    stroke(9,15,29); 
    fill(225);
    beginShape();
    vertex (419,68);
    vertex (444,83);
    vertex (437,97);
    vertex (411,82);
    endShape ();
    
    line (427, 72, 419, 86);
    line (431,75, 423, 88);
    line (419,68, 411, 82);
    
    line (435,77,429,86);
    line (429,86,440,91);
    
    stroke(9,15,29); 
    fill(225);
    beginShape();
    vertex (383,78);
    vertex (437,105);
    vertex (427,122);
    vertex (374,93);
    endShape ();
    
    stroke(9,15,29); 
    fill(63,84,131);
    beginShape();
    vertex (564,417);
    vertex (535,471);
    vertex (552,480);
    vertex (580,426);
    endShape ();
    
    stroke(9,15,29); 
    fill(0);
    beginShape();
    vertex (575,438);
    vertex (639,480);
    vertex (640,480);
    vertex (572,480);
    vertex (556,472);
    endShape ();
    
    stroke(9,15,29); // red
    fill(204,0,23);
    beginShape();
    vertex (562,480);
    vertex (580,480);
    vertex (589,461);
    vertex (576,455);
    endShape ();
    
    stroke(9,15,29); 
    fill(162,165,182);
    beginShape();
    vertex (572,463);
    vertex (584,469);
    vertex (583,473);
    vertex (570,466);
    endShape ();
    
    stroke(9,15,29);
    fill(48,74,99);
    beginShape();
    vertex (581,477);
    vertex (579,480);
    vertex (569,480);
    vertex (572,473);
    endShape ();
    
    stroke(9,15,29);
    fill(225);
    beginShape();
    vertex (292,89);
    vertex (345,119);
    vertex (345,121);
    vertex (293,92);
    endShape ();
    

    code

    tweaks (0)

    about this sketch

    This sketch is running as Java applet, exported from Processing.

    This sketch is saved as a draft and it is not published on the homepage and browse page.

    license

    advertisement

    Ka Man Lee

    sketch

    Add to Faves Me Likey@!
    You must login/register to add this sketch to your favorites.

    You need to login/register to comment.