Hw ball

float x= 200;
float y= 200;
float speed = 2;
void setup(){
size(200,200);
smooth();

}

void draw(){
background(0);
x = x + speed;

ellipse(mouseX,mouseY,20,20);

}

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *