2012年11月22日 星期四

B10010104_張舒涵_LOGO



int x=40;
int y=40;

void setup(){
  size(500, 500);
  background(255);
  PFont font;//delare the font
  font = loadFont("Helvetica-48.vlw");//load font
  textFont(font);
}

void draw(){
  color c = color (0, 0, 0);
  color a = color (76, 39, 175);
  fill(c);
  triangle(x+10, y+10, x+80, y+120, x+150, y+10);
  fill(a);
  smooth();
  triangle(x+20, y+15, x+80, y+110, x+140, y+15);
  fill(255);
  smooth();
  textSize(20);
  text("MAGIC", 88, 90);

}


沒有留言:

張貼留言