Ailyne Guzman: Espiral
De Casiopea
Título | Ailyne Guzman |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 3 |
Período | 2013- |
Asignatura | Imagen Escrita, |
Del Curso | Imagen Escrita 2013 - ARQ, |
Carreras | Arquitectura |
Alumno(s) | Ailyne Guzman |
Profesor | Herbert Spencer |
float x, y, r, e; void setup() { size(700, 700); background(255); strokeWeight(10); stroke(#17039B); } void draw() { r=0; e= (mouseX/ 100) * 0.1; float a = (TWO_PI/ mouseX) ; beginShape(); for (float t = 0; t < TWO_PI * 100; t += a) { x = width/5 + cos(t) * r; y = height/2 + sin(t) * r; vertex(x, y); r += e; } endShape(); if (key == 's'){ saveFrame("Espiral-####.png"); } }