Potential theory, path integrals and the Laplacian of the indicator