This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

Maria G Valdivia
Maria Manuela Valdivia

To change the background we put background (206,29,142);, to change the color of the ball we put fill(104,44,113). For the second ball the one the is in the corner we put smooth();, ellipse(70,48,36,36);. To make the chart more bigger we put a bigger number size(700, 300). To change the size of the ball we change int size = 60;. To change the speed of the ball we change the float xspeed=2 and the float yspeed=3. To put the white line around the circles we put stroke (255);

Source code: Bounce

Built with Processing