Gabriela tarea 4
De Casiopea
Título | línea con el mouse |
---|---|
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. |
Alumno(s) | Gabriela Gaio |
Profesor | Herbert Spencer |
float m;
void setup() {
size(500,500); smooth(); background(#2B9D4E); stroke(#392B9D); strokeCap (PROJECT); }
void draw() {
if (mousePressed) {
m = dist(mouseX, mouseY, pmouseX, pmouseY);
strokeWeight(7); line(mouseX, mouseY, pmouseX, pmouseY); } }
void keyPressed() {
if (key == 'v') { stroke(30,20,25); } if (key == 'y') { stroke (150, 200, 66); } if (key == 'b') { stroke (308, 100, 10); } if (key == 'o'){ stroke (77,90); } if (key == 'r') { stroke (666,999,77); } if (key == 'p') { background(417); } }