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
沒有留言:
張貼留言