Picture of How To Write Script To Make A Ball Move
I am using The program from Khan Academy 
here is a link to it

Step 1: Step 1

Picture of Step 1
To make the background color  simply type          background(0,0,0)
to change the color click on one of the zeros and  you can click on what color you want
Ploopy2 years ago
could you make it to a .jar file?
then you could open it using java.