Requires Windows, Mac, or Linux
Unfortunately this would only actually work with an infinite number of spheres, as the balls at the edge of any group would be pulled toward the center of the room. Only if there were an infinite number of balls in all directions would the pull of the other balls cancel out.