2.Crear una rejilla de puntos usando un bucle for
int i,j;
fullScreen();
background(0);
for(j=5;j<height-5;j=j+20){
for (i=5;i<width-5;i=i+20){
strokeWeight(10);
stroke(255);
point(i,j);
}
}
fullScreen();
background(0);
for(j=5;j<height-5;j=j+20){
for (i=5;i<width-5;i=i+20){
strokeWeight(10);
stroke(255);
point(i,j);
}
}
0 Comentarios