float angle = 0.0;
void setup() {
size(800, 600);
background(255,255,255);
smooth();
}
void draw(){
background(255,255,255);
smooth();
stroke(255,0,0);
translate(300, 300);
line(2,50,2,100);
angle = angle + 0.02;
rotate(angle);
for( int i=0;i<24;i++)
{
smooth();
line(50, 0, 10, 0);
rotate(PI/2);
strokeWeight(10);
stroke(350,50,50);
ellipse (0,0,50,50);
}
}
只能這樣囉
沒有留言:
張貼留言