Agustina Fernandez, Autorretrato achurado
De Casiopea
Título | Agustina Fernandez, autorretrato achurado |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 4 |
Período | 2013- |
Asignatura | Imagen Escrita, |
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) | Agustina Fernandez |
Profesor | Herbert Spencer |
void draw() { tam = dist(mouseX, mouseY, pmouseX, pmouseY); if (mousePressed) { achurado(mouseX, mouseY, tam); } } void achurado(float x, float y, float mag) { pushMatrix(); translate(x, y); for (int i = 0; i < 10; i ++) { line(random(-mag), random(mag), random(mag), random(-mag)); } popMatrix(); } void keyPressed() { String filename = "img/retrato-"+year()+"_"+month()+"_"+day()+"___"+hour()+"-"+minute()+"-"+second()+".png"; if (key == 's' || key == 'S') { saveFrame(filename); println("se ha grabado exitosamente el archivo "+filename); } if (key == ' ') { background(240); } }