/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://studio.sketchpad.cc/sp/pad/view/ro.tXwb9ZsgFan/rev.3
*
* authors:
* Natalia Valencia
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
void setup ()
{
size(280, 250);
background(255);
}
void draw ()
{
//stroke horizontal
strokeWeight(3);
line(90, 25, 180, 25); //stroke 1
line(90, 60, 180, 60); //stroke 2
line(40, 80, 225, 80); //stroke 3
line(40, 140, 225, 140); //stroke 4
line(60, 150, 200, 150); //stroke 5
line(40, 170, 225, 170); //stroke 6
line(90, 205, 220, 205); //stroke 7
strokeWeight(8);
line(44, 60, 55, 60); //stroke 7
//stroke vertical
strokeWeight(3);
line(60, 20, 60, 210); //stroke 1
line(90, 20, 90, 210); //stroke 2
line(180, 20, 180, 210); //stroke 3
line(200, 20, 200, 210); //stroke 4
line(220, 20, 220, 210); //stroke 5
//red Square bn
noStroke();
fill (213, 37, 14); //red square 1
quad (226,81,226,139,222.5,139,222.5,81);
strokeWeight(0);
fill (213, 37, 14); //red square 2
quad (140,206,140,211,130,211,130,206);
strokeWeight(0);
fill (213, 37, 14); //red square 3
quad (58,180,58,190,40,190,40,180);
//yellow square bn
strokeWeight(0);
fill (248, 201, 10); //yellow square 1
quad (198,206,198,211,182,211,182,206);
strokeWeight(0);
fill (248, 201, 10); //yellow square 2
quad (218,206,218,211,202,211,202,206);
noStroke();
fill (248, 201, 10); // yellow square 2
quad (58,142,58,168,40,168,40,142);
//blue square bn
noStroke();
fill (31, 75, 172); //blue square1
quad (58,19,58,56,40,56,40,19);
}