Francisca Romero, tarea 4, imagen escrita
De Casiopea
Título | Francisca Romero, Tarea 4, Imagen Escrita |
---|---|
Palabras Clave | tarea 4 |
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) | Francisca Romero Bugueño |
Profesor | Herbert Spencer |
float d, grosor; void setup() { size(screen.width, screen.height); smooth(); background(#8016ED); strokeCap(ROUND); } void draw() { if (mouseButton == LEFT) { // boton secundario del mouse d = dist(mouseX, mouseY, pmouseX, pmouseY); strokeWeight(10); line(mouseX, mouseY, pmouseX, pmouseY); stroke(40); } else if (mouseButton == RIGHT) { strokeWeight(10); line(mouseX, mouseY, pmouseX, pmouseY); stroke(0); } } void keyPressed() { if (key == ' ') { background(#E916ED); } }