顯示具有 B10010104 標籤的文章。 顯示所有文章
顯示具有 B10010104 標籤的文章。 顯示所有文章

2012年12月7日 星期五

B10010104_張舒涵_聖誕樹



size(200,300);
background(218,177,178);


for(int i=10; i<100 ; i+=3){
 line(100,20,i+45,100);
}
for(int i=10; i<100 ; i+=3){
 line(100,60,i+45,140);
}
for(int i=10; i<100 ; i+=3){
 line(100,100,i+45,180);
}

for(int i=5; i<50 ; i+=4){
 line(100,120,i+70,250);
}
noStroke();
ellipse(20,150, 10, 10);
noStroke();
ellipse(40, 50,10, 10);
noStroke();
ellipse(80,90,10, 10);
noStroke();
ellipse(150,200,10, 10);
noStroke();
ellipse(120,70,10, 10);
noStroke();
ellipse(180,120,10, 10);

rect(0,250,200,300);

textSize(15);
fill(0, 50, 153, 70);
text("Merry Christmas", 40, 270);

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);

}