Diferencia entre revisiones de «Aucan espiral en base a elipses»

De Casiopea
Sin resumen de edición
Sin resumen de edición
 
Línea 43: Línea 43:
   }   
   }   
  }
  }
</nowiki>
</pre>
</pre>
</nowiki>

Revisión actual - 19:33 24 may 2013

Espiral en base a elipses


TítuloEspiral en base a elipses
Tipo de ProyectoProyecto de Curso
Palabras ClaveTarea 3
Período2013-2013
AsignaturaImagen Escrita,
Del CursoImagen Escrita 2013 - DIS,
CarrerasDiseñ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)Luciano Aucan Lagomarsino
ProfesorHerbert Spencer
Espiral Luciano Aucan


void setup()
{ 
  size(500,500);
  smooth();
}
void draw()
{ 
 background(0);
 ellipse(width/2, height/2);
 }
 void ellipse(float a, float b)
 {
 float r=0.0;
 for(float t=0.0;t<1800;t++)
 { 
    
 r+=0.42; 

 float x=a+r*cos(t);
 float y=b+r*sin(t);
  
 noStroke();
 fill (random(200),random(300),random(500));

 ellipse(x,y,10,5);  
  }   
 }