In the complex plane, consider the image of the contour

under the map

. The argument principle states that the number of roots of

enclosed by

is equal to the winding number of the origin in the image. As you vary

you can see how this winding number changes.