/// bouncing ball w/in box void setup() float ball; float left=25, right=475, top=25, bottom=475; float ballX=left, ballY=top+5, ballDX=3, ballDY=2; void setup(){ size(500,500); } void draw() { scene(); table(); action(); } void scene(){ } void table() { background(0); rectMode(CORNER); rect (25,25,450,450); fill(225,10,200); } void action() { }