Facebook
From Prisca Hope, 1 Month ago, written in Plain Text.
This paste is a reply to Activity3 from Prisca Hope - view diff
Embed
Download Paste or View Raw
Hits: 193
  1. size(1000, 650);
  2. background (245);
  3.  
  4. stroke(204,0,153);
  5. strokeWeight (5);
  6. line (200,50,200,500);
  7. triangle (199,50,200,49,201,50);
  8. line (200,500,800,500);
  9. triangle (800,499,801,500,800,501);
  10.  
  11. int y = 50;
  12. int distance= 50;
  13.  
  14. strokeWeight(1);
  15. line (200,y,800,y);
  16. fill(0);
  17. text ("9",185,y);
  18.  
  19. y=y+distance;
  20. line (200,y,800,y);
  21. fill(0);
  22. text ("8",185,y);
  23.  
  24. y=y+distance;
  25. line (200,y,800,y);
  26. fill(0);
  27. text ("7",185,y);
  28.  
  29. y=y+distance;
  30. line (200,y,800,y);
  31. fill(0);
  32. text ("6",185,y);
  33.  
  34. y=y+distance;
  35. line (200,y,800,y);
  36. fill(0);
  37. text ("5",185,y);
  38.  
  39. y=y+distance;
  40. line (200,y,800,y);
  41. fill(0);
  42. text ("4",185,y);
  43.  
  44. y=y+distance;
  45. line (200,y,800,y);
  46. fill(0);
  47. text ("3",185,y);
  48.  
  49. y=y+distance;
  50. line (200,y,800,y);
  51. fill(0);
  52. text ("2",185,y);
  53.  
  54. y=y+distance;
  55. line (200,y,800,y);
  56. fill(0);
  57. text ("1",185,y);
  58.  
  59. y=y+distance;
  60. line (200,y,800,y);
  61. fill(0);
  62. text ("0",185,y);
  63.  
  64. strokeWeight(2);
  65. int x =200;
  66. int w=50;
  67. int distB=50;
  68.  
  69. fill(250,250,0);
  70. x=x+w+distB;
  71. rect (x,200,w,300);
  72. fill(0,250,250);
  73. x=x+w;
  74. rect (x,150,w,350);
  75.  
  76. fill(250,250,0);
  77. x=x+distB+w;
  78. rect (x,150,w,350);
  79. fill(0,250,250);
  80. x=x+w;
  81. rect (x,200,w,300);
  82.  
  83. fill(250,250,0);
  84. x=x+distB+w;
  85. rect (x,100,w,400);
  86. fill(0,250,250);
  87. x=x+w;
  88. rect (x,200,w,300);
  89.  
  90. int a=325;
  91. int c=150;
  92. fill(0);
  93. text("Bourbon",a,520);
  94. a=a+c;
  95. text ("Digestive chocolats", a,520);
  96. a=a+c;
  97. text ("Short Bread", a,520);
  98.  
  99. text("Biscuits préférés des élèves", 400,30);
  100. save("activity4.png");

Replies to Activity 4 rss

Title Name Language When
Activity 5 Prisca Hope text 4 Weeks ago.