The Residue Theorem states the contour integral depends only on poles inside C.
Poles appear as color singularities (domain coloring: hue = argument, brightness = magnitude).
The integral equals 2πi times the sum of residues at enclosed poles. Branch cuts are shown as discontinuities.
Click to toggle poles inside/outside the contour.