- size(1000, 650);
- background (245);
- stroke(204,0,153);
- strokeWeight (5);
- line (200,50,200,500);
- triangle (199,50,200,49,201,50);
- line (200,500,800,500);
- triangle (800,499,801,500,800,501);
- int y = 50;
- int distance= 50;
- strokeWeight(1);
- line (200,y,800,y);
- fill(0);
- text ("9",185,y);
- y=y+distance;
- line (200,y,800,y);
- fill(0);
- text ("8",185,y);
- y=y+distance;
- line (200,y,800,y);
- fill(0);
- text ("7",185,y);
- y=y+distance;
- line (200,y,800,y);
- fill(0);
- text ("6",185,y);
- y=y+distance;
- line (200,y,800,y);
- fill(0);
- text ("5",185,y);
- y=y+distance;
- line (200,y,800,y);
- fill(0);
- text ("4",185,y);
- y=y+distance;
- line (200,y,800,y);
- fill(0);
- text ("3",185,y);
- y=y+distance;
- line (200,y,800,y);
- fill(0);
- text ("2",185,y);
- y=y+distance;
- line (200,y,800,y);
- fill(0);
- text ("1",185,y);
- y=y+distance;
- line (200,y,800,y);
- fill(0);
- text ("0",185,y);
- strokeWeight(2);
- int x =200;
- int w=50;
- int distB=50;
- fill(250,250,0);
- x=x+w+distB;
- rect (x,200,w,300);
- fill(0,250,250);
- x=x+w;
- rect (x,150,w,350);
- fill(250,250,0);
- x=x+distB+w;
- rect (x,150,w,350);
- fill(0,250,250);
- x=x+w;
- rect (x,200,w,300);
- fill(250,250,0);
- x=x+distB+w;
- rect (x,100,w,400);
- fill(0,250,250);
- x=x+w;
- rect (x,200,w,300);
- int a=325;
- int c=150;
- fill(0);
- text("Bourbon",a,520);
- a=a+c;
- text ("Digestive chocolats", a,520);
- a=a+c;
- text ("Short Bread", a,520);
- text("Biscuits préférés des élèves", 400,30);
- save("activity4.png");