Fernanda Adam tarea 4
De Casiopea
Título | Fernanda Adam Pizarra para dibujar |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 4 |
Asignatura | Taller Inicial Común 1ª y 2ª Etapa, |
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) | Fernanda Adam |
Profesor | Herbert Spencer |
float d, grosor;
void setup () {
size (500,500);//Pantalla Completa smooth ();//líneas suaves background (250);//fondo blanco stroke (0);//trazo principal strokeCap (ROUND);//el final del trazo tiene forma redonda
}
void draw () {
if (mousePressed) { d =dist (mouseX, mouseY, pmouseX, pmouseY); grosor = map (d, 0, 25, 1, 255); strokeWeight (1); //grosor de la línea line(mouseX, mouseY, pmouseX, pmouseY); //proyección de la línea }
}
void keyPressed () {
if (key=='g') {//se presiona g y guarda el proyecto saveFrame ("img/######.jpg"); } if (key =='b') {//borra todo el dibujo background (250); } if (key=='1') {//el trazo se torna color rojo stroke (#f70808); } if (key=='2') {//el trazo se torna color azul stroke(#150dff); } if (key=='3') {//el trazo se torna color verde stroke(#4dd923); } if (key=='4') {//el trazo se torna color amarillo stroke(#fff70d); } if (key=='5') {//el trazo se torna naranjo stroke(#ff6e0d); } if (key=='6'){ // el trazo se torna celeste stroke (#05e3f7); } if (key =='7'){ // el trazo se torna morado stroke (#ac0cd4);
} if (key =='8'){ // un trazo blanco que borra de a poco
stroke (250, 400);
} }