Javiera Martinez, Ciclo for
De Casiopea
Título | Ciclo For |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 2 |
Período | 2013-2013 |
Asignatura | Imagen Escrita 2013 - DIS, |
Del Curso | Imagen Escrita 2013 - DIS, |
Carreras | Diseñ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 |
Profesor | Herbert 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(); } }