Daniel Olguin : For de alfombra hindu

De Casiopea



TítuloFor de alfombra hindu
AsignaturaImagen Escrita
Del CursoImagen Escrita 2011
CarrerasArquitectura
Alumno(s)Daniel Olguín
ProfesorHerbert Spencer
For de alfombra hindu.jpg
void setup () {
  size(500,500);
  background(#CB0A0A);
  smooth();
  noLoop();

}

void draw() {
  for (int i=5;i <= 500; i+= 80) {
    for(int j=5;j<=500; j+= 20){
      for(int y=5;y<=500;y+=20){
  fill(random(1,50),random(15,50),random(2,50));
  stroke(255);
  ellipse(i,j+random(1,60),50,25);
  stroke(0);
  fill(255,240,random(20,255));
  ellipse(j,y,random(10,20),random(5,20));
  fill(#FF0000);
  ellipse(j,y,5,5);
      }
  }
  }
  saveFrame("for_de_alfombra_hindu.jpg");
}