Timbre Achurador
De Casiopea
Título | Timbre Fernanda Vicuña |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 4 |
Período | 2013- |
Asignatura | Imagen Escrita, |
Del Curso | Imagen Escrita 2013 - ARQ, |
Carreras | Arquitectura |
Alumno(s) | Fernanda Vicuña |
Profesor | Herbert Spencer |
int num = 5 ; float i = TWO_PI / num; float r = 10; float x, y; int fondo = #FFCCCC ; int tam = 800;
void setup() {
size(500, 500); background(fondo); frameRate(100);
}
/* Construccion del pincel - timbre */ void draw() {
if (mousePressed == true) { fill(random(4),12); noStroke(); rect(mouseX,mouseY,40,40,40); }
}
void keyPressed() {
if (key == ' ') { //Al apretar espacio aparece el fondo de nuevo. background(fondo); }