2012年11月23日 星期五

B9930219-謝伯彥


int x=0;
int y=0;

void setup(){
  size(300,300);
  background(255);
}

void draw(){

  smooth();
  noStroke();
  color a=color(0);
  fill(a);
  rect(x+10,y+10,280,280);

  smooth();
  color b=color(255,255,0);
  fill(b);
  ellipse(x+100, y+100, 150, 150);

  smooth();
  color c=color(255,200,0);
  fill(c);
  ellipse(x+150, y+170, 100, 100);

  smooth();
  color d=color(255,150,0);
  fill(d);
  ellipse(x+200, y+210, 50, 50);

  smooth();
  color e=color(255,0,150);
  fill(e);
  rect(x+250,y+10,10,280);

  smooth();
  color f=color(255,0,150);
  fill(f);
  rect(x+10,y+250,280,10);

PFont font;
font = loadFont("BankGothicBT-Medium-48.vlw");

 fill(150);
 textFont(font, 30);
 text("SPATIAL", x+50, y+125);
 text("INTERACTION" ,x+50, y+150);
 text("DESIGN" , x+50, y+175);


}

沒有留言:

張貼留言