Javiera Martinez, Ciclo for

De Casiopea
Ciclo For


TítuloCiclo For
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 2
Período2013-2013
AsignaturaImagen Escrita 2013 - DIS,
Del CursoImagen Escrita 2013 - DIS,
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)Javiera Martínez
ProfesorHerbert Spencer

int count;

void setup() {

  size (500, 500);
  smooth();
  count = 0;
  noLoop();
}

void draw() {

  background(255);

  for (int y = 0; y <= 600; y += 2) {
    for (int x = 80; x <= 800; x *= 4) {
      if ((x % 5) == 0) {
        noStroke();
        fill(30);
        ellipse(x/2, y*2, 150, 3);
      }
      else {
        noStroke();
        fill(10);
        ellipse(x, y/2, 60, 5);
      }
    }
  }
  saveFrame("ciclofor"+"-"+count+".jpg");
  count = count + 1;

  if (count == 4) {
    exit();
  }
}