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

2012年11月30日 星期五

B10010014_羅珮嘉_聖誕樹
















size(150,150);
background(204,200,0);

color c = color(255);  // Define color 'c'
fill(c);  // Use color variable 'c' as fill color
noStroke();  // Don't draw a stroke around shapes
ellipse(10, 10, 10, 10);  // Draw left circle
ellipse(30, 100, 15, 15);
ellipse(90, 50, 10, 10);
ellipse(150, 100,5,5);
ellipse(100,90,5,5);
ellipse(80,150,10,10);

for (int i = 60; i < 85; i +=2) {
  stroke(204,153,0);
  line(60, i, i,60 );
  }
for (int i = 20; i < 95; i +=2) {
  stroke(10,50);
  line(20, i,i,20);
  }
for (int i = 40; i < 90; i +=2) {
  stroke(10,50);
  line(40, i,i,40);
  }
for (int i = 10; i < 65; i +=2) {
  stroke(10,50);
  line(10, i,i,10);
  }
String s = "Merry Christmas";
fill(100);
text(s, 80, 100, 90, 80);  // Text wraps within text box

2012年11月16日 星期五

B10010014 羅珮嘉






size(300,300);
background(220,225,225);
smooth();
color c =color (225,230,0);
fill(c);
noStroke();
ellipse(30,50,55,55);
ellipse(120,90,100,100);
ellipse(80,120,50,50);
fill(0);
smooth();
textSize(30);
text("Spatial",10,40);
textSize(40);
text("Interaction",10,80);
textSize(50);
text("Design",10,130);