Matias Chacon Dibujo mouse
De Casiopea
Título | Matias Chacon Dibujo mouse |
---|---|
Tipo de Proyecto | Proyecto de Taller, Proyecto de Curso |
Palabras Clave | tarea 4, Imagen Escrita 2012 |
Asignatura | Imagen Escrita 2012, |
Del Curso | Imagen Escrita 2012, |
Carreras | Arquitectura, 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) | Matias Chacon |
Profesor | Herbert Spencer |
float d;
void setup() {
size(800,800); smooth(); background(60,899,14); stroke(40, 793); strokeCap (SQUARE);
}
void draw() {
if (mousePressed) { d = dist(mouseX, mouseY, pmouseX, pmouseY); strokeWeight(7); line(mouseX, mouseY, pmouseX, pmouseY); }
}
void keyPressed() {
if (key == 'a') { stroke(25,72,6);
} if (key == 'h') {
stroke (100, 82, 66);
} }