void setup(){ size(600,600); } void draw(){ fill(255,0,0); rect(mouseX,mouseY,100,100); }
2.
void setup(){ size(600,600); frameRate(24); } float x=100,y=100; void draw(){ background(0,0,0); fill(255,255,0); ellipse(mouseX,mouseY,60,60); fill(255,0,0); ellipse(x,y,50,50); x=x*0.8 + mouseX*0.2; y=y*0.8 + mouseY*0.2; }
3.
由於禮拜二生理不適沒去上課,今天有請教蕭俊宇同學教導 目前進度還算跟上,對有些程式碼有一點小不懂就是
85
回覆刪除