/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://designuniandes.sketchpad.cc/sp/pad/view/ro.MUgs05UcpJp/rev.1
*
* authors:
* Samuel Sanchez
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
// This sketch builds on a prior work, "Assignment 2: Repetition", created by Hernando Barragan
// http://designuniandes.sketchpad.cc/sp/pad/view/ro.BpKiLNJl5Fs183/rev.1
size(400,400);
smooth();
//cuadrosrojos
fill (225,65,67);
noStroke();
for(int y=199; y<=350; y= y+33){
rect (230,y, 20,17);
}
//barrasrojascortas2
fill (225,65,67);
noStroke();
for(int y=216; y<=320; y= y+33){
rect(0, y, 210, 17);
}
//cuadrosnegros
fill (0);
noStroke();
for(int y=34; y<=350; y= y+33){
rect (0, y, 230,17);
}
//barrasblancaslargas
fill (229,215,204);
noStroke();
for(int y=150; y<=200; y= y+33){
rect(0, y, 400, 17);
}
//cuadrosblancos
fill (229,215,204);
noStroke();
for(int y=34; y<=200; y= y+33){
rect (230,y, 20,17);
}
//barrasblancascortas
fill (229,215,204);
noStroke();
for(int y=34; y<=100; y= y+33){
rect (20, y, 110,17);
}
//negroinicial
fill (0);
noStroke();
for(int y=0; y<=400; y= y+383){
rect(0, y, 400, 17);
}
//horizontalesrojas
fill (225,65,67);
noStroke();
for(int y=17; y<=140; y= y+33){
rect(20, y, 190, 17);
}
//horizontalesblancas
fill (229,215,204);
noStroke();
for(int y=17; y<=140; y= y+33){
rect (210,y, 190,17);
rect (0,y+1, 20,17);
}
//barrasnegrascortitas
fill (0);
noStroke();
for(int y=216; y<=320; y= y+33){
rect(210, y, 40, 17);
}
//barrasnegras
fill (0);
noStroke();
for (int y= 34; y<=370; y=y+33){
rect (250, y, 190, 17);
}
rect (0,364,400,17);
//barrasblancascortas
fill (229,215,204);
noStroke();
for (int y= 216; y<=370; y=y+33){
rect (250, y, 190, 17);
}
rect (0,348,400,17);
fill (225,65,67);
rect (0,381,400,17);