Processing vector 桌球算法练习

float xSpeed = 3; float ySpeed = 3; float x = 50; float y = 100; void setup(){ size(400,400); } void draw(){ background(255); x += xSpeed; y += ySpeed; //translate(width/2,height/2); if(x
相关文章
相关标签/搜索