PROYECTO IE 2012

De Casiopea



Título
Palabras Claveproyecto final
Del CursoImagen Escrita 2012
CarrerasDiseñ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)Isidora Correa
ProfesorHerbert Spencer

El trabajo consiste en crear una teselación.
Sin embargo ésta debe tener coherencia con la forma. 
En éste trabajo, se trata de realizar una figura que sea libre, 
sin una estructura muy determinada ni cortes o ángulos muy radicales. 
Pero que al juntar sus rotaciones se forme otra con 
una simetría establecida, formando una figura más determinada, o "estructurada", 
sin dejar de ser "libres" las partes que la conforman. 

A continuación se presentan 4 códigos: 
El PRIMERO, un intento e idea de lo que se quiere lograr. 
El SEGUNDO, la figura con la que se va a trabajar, pero 
teselada con ella misma, en la misma dirección.
Y TERCERO, la figura con la que se trabajará rotada en 
diferentes ángulos, al apretar "ENTER". 
El trabajo se realizara SOLO con esa forma construida. 
(CUARTO código, archivo PDF.)
La cual se podrá rotar las veces y cantidad que sean necesarias, 
para lograr diversidad de formas y poder abarcar más o menos
espacio al momento de teselar, dependiendo del lugar. 



PRIMER CÓDIGO

void setup() {
  size (1000, 1000); 
  background(255);
  smooth();
  fill  (0);
}

void draw() { 

  for (float x=50;x<900;x=x+60) { 
    for (float y=50;y<900; y=y+60) {

      beginShape();

      curveVertex (x, y);
      curveVertex (x, y + 30);
      curveVertex (x + 15, y + 17);
      curveVertex (x + 30, y + 60);
      curveVertex (x + 45, y + 34);
      curveVertex (x + 30, y);
      endShape(CLOSE);
    }
  }
}

SEGUNDO CODIGO

void setup() {
  size (1000, 1000); 
  background(255);
  smooth();
  fill  (0);
}

void draw() { 

  for (float x=100;x<900;x=x+60) { 
    for (float y=50;y<900; y=y+60) {

      beginShape();

      
      curveVertex (x - 25, y);
      curveVertex (x - 10, y - 10);
      curveVertex (x, y + 25);
      curveVertex (x,y);
      curveVertex (x + 10, y + 10);
      curveVertex (x,y);
      curveVertex (x + 25, y);
      curveVertex (x + 10, y - 10);
      curveVertex (x, y - 25);
      curveVertex (x - 10, y - 10);
      curveVertex (x,y);
      
 
      endShape(CLOSE);
    }
  }
}


TERCER CÓDIGO

void setup() {
  size (1000, 1000); 
  background(255);
  smooth();
  fill  (0);
}
void draw() {
 if (mousePressed) {
 if (mouseButton==RIGHT) {
 noStroke();
 fill(255);
 rect(0, 0, 1000, 1000);
 }
 }
 stroke(0);
 /*
 for (float x= margen; x<900; x=x+90 ) {
 for (float y=margen; y<900; y=y+90) {
 }}

 */
 if (mousePressed) {
 
pushMatrix();
 translate(pmouseX, pmouseY);
 rotacion();
 popMatrix();
 }
 }

void petalo() { 

  for (float x=100;x<900;x=x+60) { 
    for (float y=50;y<900; y=y+60) {

      beginShape();

      
      curveVertex (x - 25, y);
      curveVertex (x - 10, y - 10);
      curveVertex (x, y + 25);
      curveVertex (x,y);
      curveVertex (x + 10, y + 10);
      curveVertex (x,y);
      curveVertex (x + 25, y);
      curveVertex (x + 10, y - 10);
      curveVertex (x, y - 25);
      curveVertex (x - 10, y - 10);
      curveVertex (x,y);
      
 
      endShape(CLOSE);
    }
  }
}



 void rotacion(){
 pushMatrix();
 rotate(PI/3);
 petalo();
 translate(60,0);
 rotate(PI/6);
 petalo();
 translate(0,60);
 rotate(PI/9);
 petalo();
 translate(60,60);
 rotate(PI/12);
 petalo();
 translate(120,60);
 rotate(PI/2);
 petalo();
 translate(0,120);
 rotate(PI/5);
 petalo();
 translate(120,0);
 rotate(PI/7);
 petalo();
 translate(120,120);
 rotate(PI/4);
 petalo();
 
}

CUARTO CÓDIGO

import processing.pdf.*;
void setup() {
  size (1000,1000,PDF,"petalo.pdf"); 
  background(255);
  smooth();
  fill  (0);
}

void draw() { 

  for (float x=33;x<900;x=x+60) { 
    for (float y=28;y<900; y=y+60) {
      
      pushMatrix();
      beginShape();
      scale(13);

      
      curveVertex (x - 25, y);
      curveVertex (x - 10, y - 10);
      curveVertex (x, y + 25);
      curveVertex (x,y);
      curveVertex (x + 10, y + 10);
      curveVertex (x,y);
      curveVertex (x + 25, y);
      curveVertex (x + 10, y - 10);
      curveVertex (x, y - 25);
      curveVertex (x - 10, y - 10);
      curveVertex (x,y);
      
 
      endShape(CLOSE);
      popMatrix();
      println("listo");
      exit();
    }
  }
}