Pincel aleatorio de valores
De Casiopea
Título | Random valor Brush |
---|---|
Palabras Clave | Tarea 4 |
Período | 2013-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) | Luciano Aucan Lagomarsino |
Profesor | Herbert Spencer |
int counter; void setup() { size(500, 500); background(255); colorMode(RGB); frameRate(20); } void draw() { if (mousePressed == true) { fill(0,random(100)); noStroke(); fill(random(255)); if(mousePressed == true) { //add some interaction ellipse(mouseX, mouseY, 10, 10); } else { ellipse(width/2, height/2, 80*sin(counter), 80*sin(counter)); } } }