Archive for September, 2007
[Metaforms]w3- script
Click here to see the script
Line h1,h2,h3, h4, l1,l2,l3,l4, d1,d2,d3,d4;
Line2 hh1,hh2,hh3,hh4, ll1, ll2,ll3,ll4, dd1,dd2,dd3,dd4;
int mouse;
int bgc=255;
void setup(){
size(700,550,P3D);
h1=new Line(100,150,0,600,150,0);
h2=new Line(100,450,0,600,450,0);
h3=new Line(100,150,-150,600,150,-150);
h4=new Line(100,450,-150,600,450,-150);
l1=new Line(100,150,0,100,150,-150);
l2=new Line(600,150,0,600,150,-150);
l3=new Line(100,450,0,100,450,-150);
l4=new Line(600,450,0,600,450,-150);
d1=new Line(100,150,0,100,450,0);
d2=new Line(600,150,0,600,450,0);
d3=new Line(600,150,-150,600,450,-150);
d4=new Line(100,150,-150,100,450,-150);
hh1=new Line2(100,150,0);
hh2=new Line2(100,450,0);
hh3=new Line2(100,150,-150);
hh4=new Line2(100,450,-150);
ll1=new Line2(100,150,-100);
ll2=new Line2(600,150,0);
ll3=new Line2(100,450,0);
ll4=new Line2(600,450,0);
dd1=new Line2(100,150,0);
dd2=new Line2(600,150,0);
dd3=new Line2(600,450,-150);
dd4=new Line2(100,450,-150);
}
void draw(){
background(bgc);
camera(mouseX,mouseY,600,width/2,height/2,0,0.0,1.0,0.0);
if(mouse==0){
bgc=150;
}else if(mouse==1){
bgc-=1;
if(bgc0){
cx1=cx1+(dcx1-cx1)*speed;
cx2=cx2+(dcx2-cx2)*speed;
cy1=cy1+(dcy1-cy1)*speed;
cy2=cy2+(dcy2-cy2)*speed;
cz1=cz1+(dcz1-cz1)*speed;
cz2=cz2+(dcz2-cz2)*speed;
}
else{
cx1=x1;
cx2=x2;
cy1=y1;
cy2=y2;
cz1=z1;
cz2=z2;
}
noFill();
stroke(255);
bezier(x1,y1,z1,cx1,cy1,cz1,cx2,cy2,cz2,x2,y2,z2);
}
}
class Line2{
float x1,y1,z1;
float x2,y2,z2;
float dx2,dy2,dz2;
float cx1,cy1,cz1;
float cx2,cy2,cz2;
float dcx1,dcy1,dcz1;
float dcx2,dcy2,dcz2;
int range=100;
float speed = 0.02;
Line2(float […]
http://www.itp.nyu.edu/wearables/softness_2007/w02.html
http://en.wikipedia.org/wiki/Module
http://en.wikipedia.org/wiki/Modularity
Scaffolding
Go to my flickr photo to see further exploration
For the possible site to work on, I chose scaffolding all around NY. As the structure itself, it is not solely constructed on one site, but it is definitely site specific; New York is alway under the construction, therefore scaffoldings exist all around this busy city. […]
Sustainable Practice w1 - Quiz
I took the quiz onEcological Footprint and on CarbonCounter.org.
According to these websites, I will need 2. 3 times more earth ….??!!
It made me think about how to consume three fifth less of what i consume.. I like meet. I do not eat it everyday, but I do occasionally.
Are we in a time that even […]
Search
You are currently browsing the EugeneAhn weblog archives for September, 2007.
Longer entries are truncated. Click the headline of an entry to read it in its entirety.

