2012年12月7日 星期五
B10030002_李方_聖誕樹
void setup() {
size(500, 700);
background(50, 160, 160);
}
void draw() {
for(int i = 0; i < 180; i = i+2) {
line(250-i, 50+i, 250+i, 50+i);
if(i % 30== 0) {
fill(255, 255-i, 0);
smooth();
ellipse(250-i, 50+i, 15, 15);
ellipse(250+i, 50+i, 15, 15);
}
}
for(int i = 0; i < 230; i = i+3) {
line(250-i, 180+i , 250+i, 180+i);
if( i % 30== 0) {
fill(i, 20, 350);
smooth();
ellipse(250-i, 180+i, 15, 15);
ellipse(250+i, 180+i, 15, 15);
}
}
for(int i = 0; i < 100; i = i+5) {
line(200+i, 410, 200+i, 600);
if(i % 10 == 0) {
stroke(20);
} else {
stroke(255);
}
}
stroke(255);
fill(255);
ellipse(mouseX, mouseY, 10, 10);
}
2012年11月16日 星期五
B10030002_ 李方_Logo
int x = 10;
int y = 150;
void setup(){
size(300, 300);
}
void draw(){
background(213, 210, 255);
fill(255);
ellipse(100, 100, 100 ,100);
color b = color (y, 120, 255);
y = y+3;
if(y>255){
y=0;
}
fill(b);
smooth();
noStroke();
triangle(130, 175, 58, 30, 86, 75);
color c = color (100, 18, 22);
fill(c);
smooth();
noStroke();
textSize(20);
text("Lee", 80, 100);
textSize(30);
text("Fang", 100, 130);
x = x+1;
if(x>30){
x=0;
}
}x
2012年10月19日 星期五
訂閱:
意見 (Atom)

