La Super Teselación de Anto
De Casiopea
Título | Figura Prismática |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | proyecto final |
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) | Antonia Lara |
Profesor | Herbert Spencer |
Archivo:Teselacion.pdf |
import processing.pdf.*; void setup() { size(1000, 1000, PDF, "archivo.pdf"); background(255); noFill(); strokeCap(SQUARE); stroke(3); } void draw() { for (float x= 0; x<1200; x=x+120) { for (float y=0; y<1200; y= y+120) { pushMatrix(); translate(x, y); rotacion(); popMatrix(); } } println("listo"); exit(); } void piezaUno() { beginShape(); vertex(0, 15); vertex(15, 0); vertex(30, 15); vertex(45, 0); vertex(60, 15); vertex(38, 38); vertex(60, 60); vertex(30, 60); vertex(30, 45); vertex(15, 60); vertex(0, 45); vertex(15, 30); endShape(CLOSE); } void piezaDos() { beginShape(); vertex(0, 15); vertex(15, 0); vertex(30, 15); vertex(45, 0); vertex(60, 15); vertex(45, 30); vertex(60, 45); vertex(45, 60); vertex(30, 45); vertex(30, 60); vertex(0, 60); vertex(22, 37); endShape(CLOSE); } void rotacion() { pushMatrix(); rotate(PI/2); piezaDos(); translate(60, 0); rotate(-PI); piezaUno(); translate(0, 60); rotate(PI); piezaUno(); translate(60, 60); rotate(-PI); piezaDos(); popMatrix(); }