Domain coloring is a way to visualize a complex-valued function by assigning a color to each point
in its domain
according to the value
(Wegert 2012). In a phase plot, hue alone encodes the point
on the unit circle
wherever
is finite and nonzero. The hues form a cyclic color scale,
so a full turn around the origin in the value plane makes
one circuit of the scale. Other domain colorings also encode the modulus,
for example by changing brightness or drawing contours of constant modulus.
Let
be a counterclockwise, piecewise smooth, simple closed contour,
and let
be meromorphic on a neighborhood of the contour and its interior, with no zeros
or poles on
. The signed number of turns
around the color scale along
is the contour winding
number of
about zero. By the argument principle, it equals
the number of enclosed zeros minus the number of enclosed
poles, counted with multiplicity
and order, respectively (Wegert 2012). For example,
makes two positive color turns along the counterclockwise
unit circle, whereas
makes one negative turn.
For a continuous function on a closed disk that is nonzero on its boundary, any nonzero boundary winding forces an interior zero. Otherwise shrinking the boundary through concentric circles would give a homotopy to a constant image in the punctured complex plane, forcing the winding to be zero. 3Blue1Brown (2018) illustrates this use of winding to locate zeros.