Advertisement
Guest User

Untitled

a guest
Mar 30th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.09 KB | None | 0 0
  1. //Gotham City by Brandon Druschel :^)
  2. void setup()
  3. {
  4. size(1024, 600);
  5. background(34, 30, 31);
  6. rectMode(CENTER);
  7. noStroke();
  8. }
  9.  
  10. void draw()
  11. {
  12. background(34, 30, 31);
  13. textSize(12);
  14. //text("Position: " + mouseX + "," + mouseY, 10, 20); //shows position of cursor, for the sake of convenience
  15.  
  16.  
  17. //fill(240,242,239); //city color
  18. //fill(255,243,7); //spotlight color
  19.  
  20. //
  21. //BRIDGE
  22. //
  23. stroke(240, 242, 239);
  24. strokeWeight(3);
  25. noFill();
  26. ellipse(550, 330, 100, 80); //arc 1
  27. ellipse(440, 330, 120, 60); //arc 2
  28. ellipse(660, 330, 120, 60); //arc 3
  29. noStroke();
  30. fill(34, 30, 31);
  31. rect(560, 280, 350, 100); //arc cutoff
  32.  
  33. fill(240, 242, 239);
  34. rect(550, 428, 265, 7); //bottom front
  35. rect(550, 415, 265, 5); //bottom back
  36. rect(500, 374, 7, 100); //left big support
  37. rect(600, 374, 7, 100); //right big support
  38.  
  39. //small supports (left to right, for the most part)
  40. rect(429, 392, 3, 68); //left 1
  41. rect(441, 392, 3, 68); //left 2
  42. rect(456, 392, 3, 68); //left 4
  43. rect(471, 391, 3, 68); //left 4
  44. rect(485, 388, 3, 73); //left 5
  45.  
  46. rect(513, 391, 3, 68); //center 1
  47. rect(528, 396, 3, 57); //center 2
  48. rect(543, 397, 3, 57); //center 3
  49. rect(558, 397, 3, 57); //center 4
  50. rect(573, 397, 3, 63); //center 5
  51. rect(587, 392, 3, 68); //center 6
  52.  
  53. rect(615, 388, 3, 73); //right 1
  54. rect(630, 391, 3, 68); //right 2
  55. rect(645, 391, 3, 68); //right 3
  56. rect(660, 392, 3, 68); //right 4
  57. rect(675, 392, 3, 68); //right 5
  58.  
  59. //
  60. //LIGHT
  61. //
  62. fill(255, 243, 7);
  63. ellipse(540, 175, 144, 89); //spotlight
  64. triangle(515, 180, 565, 180, 515, 350); //light ray
  65.  
  66.  
  67. //
  68. //BATMAN SYMBOL
  69. //
  70. fill(34, 30, 31);
  71. ellipse(540, 175, 100, 50); //main
  72.  
  73. fill(255, 243, 7);
  74. ellipse(530, 200, 20, 35); //left wing bottom
  75. ellipse(552, 200, 20, 35); //right wing bottom
  76.  
  77. ellipse(513, 198, 17, 35); //left outer wing
  78. ellipse(569, 198, 17, 35); //right outer wing
  79.  
  80. ellipse(523, 150, 20, 35); //left wing top
  81. ellipse(557, 150, 20, 35); //right wing top
  82.  
  83. rect(540, 145, 20, 20); //head cut
  84.  
  85. fill(34, 30, 31);
  86. triangle(532, 158, 532, 149, 538, 158); //left ear
  87. triangle(548, 157, 548, 148, 541, 157); //right ear
  88.  
  89.  
  90. //
  91. //BUILDINGS / SCRAPERS
  92. //
  93.  
  94. //LEFT side of image -- from right to left:
  95. //(buildings labeled by number)
  96. fill(240, 242, 239);
  97. rect(420, 410, 10, 140); //1 - right edge
  98. rect(380, 360, 70, 240); //1 - main
  99. rect(390, 220, 15, 70); //1 - top
  100. rect(390, 184, 9, 10); //1 - tip
  101.  
  102. fill(34, 30, 31);
  103. rect(397, 260, 10, 15); //1 - window 1
  104. rect(382, 275, 10, 15); //1 - window 2
  105.  
  106.  
  107. fill(240, 242, 239);
  108. rect(325, 415, 60, 110); //2 - little building
  109.  
  110.  
  111. rect(235, 320, 120, 320); //3 - main
  112. rect(258, 160, 55, 40); //3 - top
  113. rect(266, 130, 8, 30); //3 - tip
  114.  
  115. fill(34, 30, 31);
  116. rect(276, 325, 6, 260); //3 - window 1
  117. rect(261, 325, 6, 260); //3 - window 2
  118. rect(246, 325, 6, 260); //3 - window 3
  119. rect(225, 325, 6, 260); //3 - window 4
  120. rect(210, 325, 6, 260); //3 - window 5
  121. rect(195, 325, 6, 260); //3 - window 6
  122.  
  123. fill(240, 242, 239);
  124. rect(235, 228, 100, 7); //3 - window cut 1
  125. rect(235, 290, 100, 7); //3 - window cut 2
  126. rect(235, 390, 100, 7); //3 - window cut 3
  127. rect(235, 430, 100, 7); //3 - window cut 4
  128.  
  129.  
  130. rect(135, 430, 80, 80); //4 - bottom
  131. rect(135, 360, 63, 170); //4 - main
  132.  
  133.  
  134. rect(85, 410, 20, 140); //5 - right edge
  135. rect(45, 400, 70, 160); //5 - main
  136. ellipse(45, 300, 55, 45); //5 - fat circle!
  137. ellipse(45, 280, 8, 40); //5 - skinny circle! seriously though what kind of infrastructure is this??
  138.  
  139. fill(34, 30, 31);
  140. rect(30, 340, 13, 13); //5 - window 1
  141. rect(30, 357, 13, 13); //5 - window 2
  142.  
  143. fill(240, 242, 239);
  144. rect(0, 410, 20, 120); //6 - thatonesmallbuildingthatgetscutoutbytheleftsidenevertobeseeninitsfullcapacity
  145.  
  146.  
  147. //RIGHT side of image -- from left to right:
  148. //(buildings still labeled by number)
  149. rect(689, 405, 13, 170); //1 - left edge
  150. rect(730, 355, 70, 270); //1 - main
  151. triangle(687, 220, 773, 220, 730, 175); //1 - roof
  152.  
  153. fill(34, 30, 31);
  154. rect(730, 240, 9, 14); //1 - window 1
  155. rect(730, 258, 9, 14); //1 - window 2
  156. rect(730, 276, 9, 14); //1 - window 3
  157.  
  158.  
  159. fill(240, 242, 239);
  160. rect(800, 410, 110, 160); //2 - support
  161. rect(810, 355, 60, 260); //2 - main
  162.  
  163. fill(34, 30, 31);
  164. rect(830, 245, 8, 11); //2 - window 1
  165. rect(795, 295, 8, 11); //2 - window 2
  166. rect(830, 320, 8, 11); //2 - window 3
  167.  
  168.  
  169. fill(240, 242, 239);
  170. rect(850, 430, 50, 100); //3 - small
  171.  
  172.  
  173.  
  174. rect(920, 340, 90, 300); //4 - main
  175. rect(920, 190, 75, 60); //4 - top 1
  176. rect(920, 150, 50, 60); //4 - top 2
  177. rect(920, 139, 12, 60); //4 - tip 1
  178. rect(920, 110, 4, 90); //4 - tip 2
  179.  
  180. fill(34, 30, 31);
  181. rect(920, 260, 35, 90); //4 - window
  182.  
  183. fill(240, 242, 239);
  184. rect(920, 243, 40, 6); //4 - win cut 1
  185. rect(920, 277, 40, 6); //4 - win cut 2
  186. rect(920, 260, 6, 100); //4 - win cut 3
  187.  
  188.  
  189. rect(970, 405, 20, 150); //5 - thing 1
  190. rect(1000, 415, 50, 130); //5 - thing 2
  191. rect(1020, 385, 50, 210); //5 - thing 3
  192.  
  193. fill(34, 30, 31);
  194. rect(1007, 300, 8, 11);
  195. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement