int count =0;
void draw(){
background(255);
drawMeatball(count);
count=count+1;
if(count>100){
count =0 ;
}
}
void drawMeatball(int y){
ellipse(y,50,10,10);
line(y,60,y,80);
ellipse(y,60,10,10);
ellipse(y,40,10,10);
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น