Every ball adds \(r^2 / d^2\) to the field, with \(d\) the distance to its centre, and a point is inside where the sum reaches the threshold. The saddle cases (5 and 10) are settled by the mean of the four corners. Every field, grid and contour is computed in the page.