Ciclo For;imagen escrita; consuelo santis
De Casiopea
Título | Ciclo for 1 |
---|---|
Tipo de Proyecto | Proyecto de Taller |
Palabras Clave | tarea 2 |
Período | 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) | Consuelo Santis Escudero |
Profesor | Herbert Spencer |
Ciclo for
int count; void setup() { size (500, 500); smooth(); count = 1; noLoop(); } void draw() { background(255); for (int y = 35; y <= 490; y += 40) { for (int x = 35; x <= 450; x *= 1.5) { if ((x % 3) == 0) { noStroke(); fill(0); ellipse(x/1.1, y, 3, 3); } else { noStroke(); fill(0); ellipse(x+1.7, y+37, 7, 7); } } } saveFrame("ciclofor"+"-"+count+".jpg"); count = count + 190819283; if (count == 3) { exit(); } }