This demo shows, in the first window, the vector field V(x,y). In the "Divergence" window, the z-coordinate of the red surface indicates the value of the divergence at (x,y): div((x,y)) = f(x,y) = z. In the "Curl" window, the z-coordinate of the green surface indicates the value of the scalar curl at (x,y).