int space = 90 ;
void setup(){
size(500,500);
//frameRate(3);
}
void draw() {
background(128,0,128);
fill(255,255,255);
noStroke();
rect(space,220,300,100);
rect(90+space,130, 100,300);
space = (space + 2)%width;
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น