![]() |
1.畫4個圓 |
![]() |
2.會變大的圓 2X2 |
![]() |
3.會變大的圓 3X3 |
![]() |
4.改成for迴圈 |
void setup(){
size(300,500);
}
int R=0;
int circle=2;
void draw(){
background(0);
for(int x=0;x<3;x++){
for(int y=0;y<3;y++){
ellipse(50+x*100,200+50+y*100 , R,R);
}
}
if(R<100) R+=3;
else R=0;
}
沒有留言:
張貼留言