Toyo Ito Serpentine Gallery Pavilion (2002)

this short code show how the rotation of the retangle. also we can see the whole creation of the ito’s pavilion in London. it is a new method for the creatio of architecture.

void setup(){
rectMode(CENTER);
noFill();
size(300,300);

}

void draw (){
  background(255);
for(float i=0; i<30; i++){
  pushMatrix();
  translate(width/2,height/2);
  scale(1/(i/mouseX),1/(i/mouseY));
  rotate(radians(i*mouseX*10));
  rect(0,0,50,50);
  popMatrix();
}
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s