Lydia Huerta tarea 4

De Casiopea
Lydia Huerta tarea 4 pizarra


TítuloLydia Huerta tarea 4 pizarra
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 4
Período2012-
AsignaturaTaller Inicial 1ª y 2ª Etapa,
Del CursoImagen Escrita 2012,
CarrerasArquitectura
Alumno(s)Lydia Huerta Madariaga
ProfesorHerbert Spencer

void setup() {

size(screen.width, screen.height); 
smooth();  
background(255); 
strokeCap(PROJECT); 

}

void draw() {

if (mousePressed) { 
  strokeWeight(4);
  line(mouseX, mouseY, pmouseX, pmouseY);
}

}

void keyPressed() {


if (key == 'y') {
  stroke (255,7,60);
}
  if (key == 'q') {
  stroke (200,177,201);
}
if (key == 'k') {
  stroke (55,60);
}
if (key == 'i') {
  stroke (30,400);
}
if (key == 'l') {
  stroke (654,400,59);

}

if (key == 't') {
  stroke (308, 52, 307);
}
if (key == 'n') {
  background(0);
}

}