Path integral for planar curves

This worksheet shows a geometrical representation of the path integral for planar curves. If is of class and the composite function is continuous, then we define When , this integral has a geometric interpretation as the area of a fence.
Move the points in the plane to change the shape of the curve. You can change the surface as well.