Monserrat Torres: Proyecto Poligono
De Casiopea
Título | Poligono |
---|---|
Tipo de Proyecto | Proyecto de Taller, Proyecto de Curso |
Palabras Clave | tarea 2 |
Período | 2013-2013 |
Asignatura | Imagen Escrita 2013 - DIS, |
Del Curso | Imagen Escrita 2013 - DIS, |
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) | Monserrat Torres |
Profesor | Herbert Spencer |
void setup() {
size(500,500); background(255);
}
void draw(){
if (keyPressed){
if (key == 'q'){
saveFrame("MTorres_poligonoregular.jpg"); // apretar q para guardar jpg
}
if (key == ' '){ background(255); } }
// Seleccionar espacio para volver a empezar noFill(); // Figura sin color
strokeWeight(1);
rectMode(CORNER);
translate(width/4,height/4);
rotate(PI+mouseX);
rect(4,4,width/2,height/2);
}