Paulina Martínez IE2012 Tarea 12(2)

De Casiopea
La versión para imprimir ya no se admite y puede contener errores de representación. Actualiza los marcadores del navegador y utiliza en su lugar la función de impresión predeterminada del navegador.
Paulina Martínez IE2012 Tarea 12(2)


TítuloPaulina Martínez IE2012 Tarea 12(2)
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 12
Período2012-2012
AsignaturaTaller Inicial Común 1ª y 2ª Etapa,
Del CursoImagen Escrita 2012,
CarrerasDiseño Gráfico"Diseño Gráfico" is not in the list (Arquitectura, Diseño, Magíster, Otra) of allowed values for the "Carreras Relacionadas" property., Diseño Industrial"Diseño Industrial" is not in the list (Arquitectura, Diseño, Magíster, Otra) of allowed values for the "Carreras Relacionadas" property.
Alumno(s)Paulina Martínez
ProfesorHerbert Spencer

float Xspacer = 10;    
float Yspacer;       
float margen = 100;    


void setup() {
  Yspacer = sqrt( pow(Xspacer, 2) - pow(Xspacer/2, 2));
  size(520, 520);
  noStroke();
  fill(0);
  smooth();
}

void draw() {
  background(#0D0000);

  float initX;      
  int rowCount = 10;
  int par;          
  for (float y =0; y < 500+40; y+= 55) {
    rowCount ++;    
    par = rowCount % 2; 
    if ( par == 0) {
      initX = 10 + 40;
    }
    else {
      initX = 0; 
    }
    for (float x = 0; x < 550 + 10; x +=55) {
      stroke(#817878);
  rect(x,y,32,32);
  fill(#817878);
  stroke(#817878);
ellipse(x,y,43,43);
fill(#817878);
    }
  }
}