Alumnus Exemplar: Identidad Circular
De Casiopea
Título | Espiral: Identidad Circular |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 3 |
Período | 2013- |
Asignatura | Imagen Escrita, |
Del Curso | Imagen Escrita 2013 - DIS, Imagen Escrita 2013 - ARQ, |
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) | Alumnus Exemplar |
Profesor | Herbert Spencer |
/* identidad circular si pienso en coordenadas polares un ángulo t y un radio r y suponiendo que el centro del círculo está en el origen, entones las coordenadas x e y serían: x = cos(t) * r; y = sin(t) * r; */ size(500, 500); noFill(); float x, y, r, rInc; // declara múltiples variables rInc = (200 / 64) * .1; // incremento del radio r = 0; float inc = TWO_PI / 64; // incremento del ánculo beginShape(); for (float t = 0; t < TWO_PI * 10; t += inc) { x = width/2 + cos(t) * r; y = height/2 + sin(t) * r; vertex(x, y); r += rInc; } endShape(); ellipse(width/2, height/2, 3, 3);