If the Earth was a cube

Here’s a slice through the center of the cube showing the gravitational potential energy and its gradient (which shows the direction of the pull of gravity.) I show the interior for anyone interested in making a tunnel.

potential and gradient