Proyecto Donny Ahumada
De Casiopea
Título | Proyecto Donny Ahumada |
---|---|
Tipo de Proyecto | Proyecto de Taller, Proyecto de Curso |
Palabras Clave | proyecto final |
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., 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) | Donny Ahumada |
Profesor | Herbert Spencer |
Archivo:Http://dl.dropbox.com/u/20674936/final.pdf | |
URL | http://dl.dropbox.com/u/20674936/proyfinal.zip |
/*Descargar archivo zip con los archivos SVG para revision*/
import processing.pdf.*; PShape svg; //Importancion de archivo matriz SVG
void setup() {
size (1000, 1000, PDF, "final.pdf");//tamaño del lienzo mas bordes background(255);//color de fondo svg = loadShape("final.svg");//se lee la forma matriz smooth();
}
void figura() {
shape(svg, 0, 0, 240, 240);//se carga la forma inicial en el tamaño svg.disableStyle(); strokeWeight(0.25);//grosor de la línea
}
void rotar() { //rotar en 90°
for (int y=20; y<960; y=y+240) { for (int x=260; x<960; x=x+240) { pushMatrix(); translate(x, y); figura(); rotate(PI/2); figura(); popMatrix(); } }
}
void draw() {//se dibuja en el pdf
rotar(); println("Terminado. Ctrl + K para ver carpeta del pdf"); exit();
}