/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://designuniandes.sketchpad.cc/sp/pad/view/ro.nV$OLyvrAz2/rev.2
*
* authors:
* Natalia Barragán Nieto
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
int x= 0;
int y=0;
int ancho= 100;
int alto= 100;// tamaño unidad básica
size(800, 700);
fill (124, 0, 152);
for (int j=50; j<900; j=j+100) {
for (int k=50; k<800; k=k+200) {
ellipse(j, k, ancho, alto);
}
}
// círculos que comienzan en la mitad
for (int j=0; j<900; j=j+100) {
for (int k=150; k<800; k=k+200) {
ellipse(j, k, ancho, alto);
}
} // círculos que comienzan a la mitad
fill(255,266,5);
for (int j=100; j<900; j=j+300) {
for (int k=150; k<800; k=k+200) {
ellipse(j, k, ancho, alto);
}
}
for (int j=250; j<900; j=j+300) {
for (int k=50; k<800; k=k+200) {
ellipse(j, k, ancho, alto);
}
}