int x=100;
int y=100;
void setup(){
size(300, 300);
background(255);
noStroke();
PFont font;
font = loadFont("OptimaLT-Bold-48.vlw");
textFont(font);
}
void draw(){
fill(132, 91, 164);
ellipse(200, 200, x, y);
ellipse(50, 50, 100, 100);
fill(255, 224, 82);
ellipse(200, 200, x-50, y-50);
ellipse(50, 50, 60, 60);
fill(132, 91, 164);
ellipse(200, 200, x-90, y-90);
x=x+2;
y=y+2;
if(y>350){
y=100;
}
if(x>350){
x=100;
}
fill(255);
textSize(36);
text("Spatial",100, 150);
text("Interaction",100, 200);
text("Design",100, 250);
}
沒有留言:
張貼留言