Diferencia entre revisiones de «Renata Villaseñor, tarea 11»
De Casiopea
Sin resumen de edición |
Sin resumen de edición |
||
Línea 13: | Línea 13: | ||
void setup() { | void setup() { | ||
size(232,200); noFill(); smooth(); strokeCap(SQUARE); strokeWeight(0.01); stroke(#00CC33); } void draw() { | size(232,200); | ||
noFill(); | |||
smooth(); | |||
strokeCap(SQUARE); | |||
strokeWeight(0.01); | |||
stroke(#00CC33); | |||
} | |||
void draw() { | |||
translate(height/phi, 0); scale(height); | translate(height/phi, 0); | ||
scale(height); | |||
for (float i=0; i < 30; i=i+1) { | for (float i=0; i < 30; i=i+1) { | ||
arc(0, 0, 2, 2, 0, PI/2); scale(1/phi); rotate(PI/2); translate(1/phi, 0); } } | arc(0, 0, 2, 2, 0, PI/2); | ||
scale(1/phi); | |||
rotate(PI/2); | |||
translate(1/phi, 0); | |||
} | |||
} | |||
</noWiki></pre> | </noWiki></pre> |
Revisión actual - 09:48 2 ago 2012
Título | Renata Villaseñor, 11 |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 11 |
Del Curso | Imagen Escrita 2012, |
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) | Renata Villaseñor |
Profesor | Herbert Spencer |
float phi = (sqrt(3)+1)/2; void setup() { size(232,200); noFill(); smooth(); strokeCap(SQUARE); strokeWeight(0.01); stroke(#00CC33); } void draw() { translate(height/phi, 0); scale(height); for (float i=0; i < 30; i=i+1) { arc(0, 0, 2, 2, 0, PI/2); scale(1/phi); rotate(PI/2); translate(1/phi, 0); } }