Proyecto Final Escher es el mas choro y pulento
De Casiopea
Título | Proyecto final Juan Hernández |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | proyecto final |
Del Curso | Imagen Escrita 2012, |
Carreras | Arquitectura |
Alumno(s) | Juan Alejandro Hernández |
Profesor | Herbert Spencer |
- Descarga el hermoso pdf para hacer el hermoso corte laser
- Aquí esta el código jijiji PROCESSING ES HERMOSO !!!!!!!!!!!!!!!!!
import processing.pdf.*;
PShape s; float Xspacer; // float Yspacer; // float margen = -118; // float tam = 2; //
void setup() {
// calculo Yspacer por Pitágotas: Yspacer = sqrt( pow(Xspacer, 2) - pow(Xspacer/2, 2)); s = loadShape("juan2.svg"); size(952, 950, PDF, "final.pdf"); // se edita el tamaño para que calce el vector que generará el vacio y corte donde se debe noStroke(); fill(0); smooth();
}
void draw() {
background(255); float initX; // int rowCount = 0; // int par; //
for (float y = 0; y < height-margen; y+= s.height) { rowCount ++; // cuento las filas par = rowCount % 2; // if ( par == 0) { initX = margen ; // } else { initX = margen; // for (float x = initX; x < width - margen; x += s.width) { shape(s, x, y,s.width,s.height); } }
println("PDF listeilorxx. Presione Ctrl+k para ver el pdf"); exit();
}