This is an exercise to teach myself how to write a class.
You can grab a ball and shoot with it.
1 / 2 / 3 = toggle between color sets
Space = change background color
M = show / hide connections
N = show / hide crash location
B = create new set of balls
Right = add new ball
Left = remove a ball
Any key = pause
To tweak this sketch, first download it.
Make your updates, then upload your tweak!