María Jesús Arestizábal Tarea 4
De Casiopea
Título | Tarea 4 |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 4 |
Asignatura | Imagen Escrita 2012, |
Del Curso | Imagen Escrita 2012, 1º Diseño 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) | María Jesús Arestizábal |
Profesor | Herbert Spencer |
float d;
void setup() {
size(700,700); smooth(); background(300,200,100); stroke(50, 500); strokeCap (SQUARE);
}
void draw() {
if (mousePressed) { d = dist(mouseX, mouseY, pmouseX, pmouseY); strokeWeight(10); line(mouseX, mouseY, pmouseX, pmouseY); }
}
void keyPressed() {
if (key == 'm') { stroke(20,10,60);
} if (key == 'j') {
stroke (100, 100, 66);
} if (key == 'a') {
stroke (308, 100, 10); }
if (key == 's'){
stroke (77,90);
} if (key == 'f') {
stroke (666,999,77);
}
if (key == 'l') { background(245); }
}