Advertisement
Guest User

Untitled

a guest
Oct 12th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. function setup() {
  2. createCanvas(1000, 600);
  3. background(80);
  4. fill(200, 39, 200, 100);
  5. map();
  6.  
  7. }
  8.  
  9.  
  10. function bart(){
  11. for (var x = 0; x < 52; x++) {
  12. translate(200, 0);
  13. push();
  14. for (var y = 0; y < 52; y++) {
  15. translate(0, 200);
  16. }
  17. }
  18.  
  19. function map(){
  20. stroke(50,200,20,200);
  21. strokeWeight(8);
  22. line(250, 250, 125, 250);
  23. stroke(50,200,20,200);
  24. line(50,400,125,250);
  25. stroke(50,200,20,200);
  26. line(400,500,250,250);
  27. stroke(400,125,0,200);
  28. line(410,500,260,250);
  29. stroke(400,125,0,200);
  30. line(260,250,275,150);
  31. stroke(400,125,0,200);
  32. line(200,45,275,150);
  33. stroke(10,100,300,200);
  34. line(40,400,120,240);
  35. line(264, 240, 125, 240);
  36. line(324,340,264,240);
  37. line(500, 340, 324, 340);
  38. stroke(400,400,0,200);
  39. line(30,400,115,230);
  40. line(272, 230, 115, 230);
  41. line(272,230,284.5,148);
  42. line(445, 115, 284.5, 148);
  43. line(500, 30, 445, 115);
  44. stroke(450,0,0,200);
  45. line(20,400,110,221);
  46. line(110,221, 255, 221);
  47. line(265,152,255, 221);
  48. line(265,150,190, 45);
  49. }
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement