Juan Pablo Vergara: Proyecto herramienta de dibujo

De Casiopea
Revisión del 07:40 27 sep 2018 de Hspencer (discusión | contribs.) (Texto reemplazado: «Helbert Spencer» por «Herbert Spencer»)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)


Títuloherramienta dibujo, imagen escrita
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 4
Período2013-2013
AsignaturaImagen Escrita,
Del CursoImagen Escrita 2013 - DIS,
CarrerasDiseñ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)Juan Pablo Vergara
ProfesorHerbert Spencer

void setup() {
size(500,500);             // tarea herramienta de dibujo
background(#000000);
stroke(255);
strokeWeight(5);
smooth(5);

}
void draw(){  
if (mousePressed)
{point(mouseX, mouseY);
}
if(key=='X');
}

void keyPressed(){      
if(key=='r'){stroke(#ffdf61);
}
if(key=='n'){stroke(25,50);
smooth(2);
}
if(key=='c'){stroke(#6C470E);
}
if (key == 'g' || key == 's') {  //Al apretar s se guarda la imagen.
    saveFrame ("herramienta");
}
}