Matias Chacon Dibujo mouse

De Casiopea
La versión para imprimir ya no se admite y puede contener errores de representación. Actualiza los marcadores del navegador y utiliza en su lugar la función de impresión predeterminada del navegador.


TítuloMatias Chacon Dibujo mouse
Tipo de ProyectoProyecto de Taller, Proyecto de Curso
Palabras Clavetarea 4, Imagen Escrita 2012
AsignaturaImagen Escrita 2012,
Del CursoImagen Escrita 2012,
CarrerasArquitectura, 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
ProfesorHerbert 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);

} }