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

2012年11月30日 星期五

B10010101_蕭惠嘉_聖誕樹




size(500,500);
background(225, 0, 0);

color c = color (255, 255, 255);

fill (c);
noStroke();
ellipse(450, 400, 10, 10);
fill (c);
noStroke();
ellipse(400, 200, 10, 10);
fill (c);
noStroke();
ellipse(150, 50, 10, 10);
fill (c);
noStroke();
ellipse(100, 30, 10, 10);
fill (c);
noStroke();
ellipse(150, 350, 20, 20);
fill (c);
noStroke();
ellipse(50, 150, 10, 10);
fill (c);
noStroke();
ellipse(450, 500, 10, 10);
fill (c);
noStroke();
ellipse(450, 100, 30, 30);
fill (c);
noStroke();
ellipse(400, 400, 20, 20);
fill (c);
noStroke();
ellipse(400, 140, 30, 30);
fill (c);
noStroke();
ellipse(50, 440, 50, 50);
fill (c);
noStroke();
ellipse(10, 40, 50, 50);
fill (c);
noStroke();
ellipse(100, 240, 25, 25);
fill (c);
noStroke();
ellipse(200, 50, 30, 30);
fill (c);
noStroke();

for (int i = 40; i <=400; i+=10) {
fill(45, 150, 25);
  triangle(100, 350, 250, 100, 400, 350);
  triangle(100, 275, 250, 100, 400, 275);
   triangle(150, 200, 250, 100, 350, 200);


fill(250, 250, 100);
triangle(220, 95, 250, 140, 280, 95);
triangle(220, 125, 250, 80, 280, 125);



color v = color (255, 255, 255);
 fill (v);
noStroke();
ellipse(450, 100, 30, 30);

fill(110, 0, 30);
rect(200, 350, 100, 55);
 
line(200, 400, 200,350);
line(300, 400, 300,350);

fill (c);
noStroke();
ellipse(280, 150, 10, 10);

fill (c);
noStroke();
ellipse(200, 300, 10, 10);
fill (c);
noStroke();
ellipse(230, 175, 10, 10);

}

2012年11月16日 星期五

B10010101蕭惠嘉



int x=0; //set the horizontal position縱坐標
int y=55; //set the vertical position橫坐標

PFont font;//delare the font
font = loadFont("Algerian-48.vlw");//load font
textFont(font);
size(300, 300);
background(180, 180, 100);
color c1 = color(100, 130, 0);
color c2 = #FFAA00;
noStroke();
fill(c1);
rect(10, 10, 25, 100);
fill(c2);
rect(25, 25, 40, 100);
color c3 = get(10, 50);
fill(c3);
rect(50, 50, 60, 100);


color c = color (100, 100, 0);
fill (c);
noStroke();
ellipse(10, 40, 50, 50);
fill (c);
noStroke();
ellipse(100, 240, 150, 150);
fill (c);
noStroke();
ellipse(250, 50, 70, 70);
fill (c);
noStroke();


fill(0);

color b = color (80 , 100, 80);
textSize(20);
fill (b);
noStroke();
text("Spatial", 20, 100);
textSize(30);
text("color", 20, 80);
textSize(20);
text("Cloud", 220, 150);
smooth();

noStroke();
lights();
translate(58, 48, 0);
sphere(28);