void setup(){ size(600,600); } float x=100,y=100; void draw(){ background(0,0,0); fill(56,148,192); ellipse(mouseX,mouseY,100,100); fill(255,255,0); ellipse(mouseX,mouseY,200,40); fill(1,1,1); rect(mouseX,mouseY,5,10); } void setup(){ size(600,600); } float x=100,y=100; void draw(){ background(0,0,0); fill(56,148,192); ellipse(mouseX,mouseY,100,100); fill(255,255,0); ellipse(mouseX,mouseY,200,40); fill(1,1,1); rect(mouseX,mouseY,5,10); fill(249,37,6); ellipse(x,y,50,50); x=x*0.9 + mouseX*0.1; y=y*0.9 + mouseY*0.1; }
今天因為要等待新同學的進度,所以有點慢,但新同學感覺都有跟上,希望以後都一直這樣的速度
80
回覆刪除