Luciano Morales: Tarea 4
De Casiopea
Título | Luciano Morales : tarea 4 |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 4 |
Período | 2012- |
Asignatura | Imagen Escrita 2012, |
Del Curso | Imagen Escrita 2012, |
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 Morales |
Profesor | Herbert Spencer |
Al deslizar el mouse se forma un trazo de color .
float d, grosor; void setup() { size(600,800); background(0); stroke (#C30E0E); } void draw() { if (mousePressed); d = dist(mouseX, mouseY, pmouseX, pmouseY); grosor = map(d, 100, 700, 300, 40); line (mouseX, mouseY, pmouseX, pmouseY); strokeWeight(5); } void keyPressed() { if (key == 'r') { background(#181407); if (key == 't'){ stroke(0); } } }