Type any complex function f(z) and see it as a 3D landscape: height is |f(z)| or Re/Im, colour is the phase (domain colouring). Zeros become valleys, poles become towers. Evaluate f at any point, locate zeros numerically and measure the winding number around a contour (argument principle).
A complex function maps a 2D plane to a 2D plane, so we cannot draw its graph directly. This landscape uses height for one real number and colour for another: the hue is the argument (phase) of f(z) ā red at 0, yellow at 60°, green 120°, cyan 180°, blue 240°, magenta 300° ā and the height is log(1 + |f|) by default, so zeros sink to the floor and poles shoot up (clipped).
N ā P = (1/2Ļi) ā® fā²/f dz. The tool walks 2,000 points round the circle and sums the phase changes of f.zāāā = zā ā f(zā)/fā²(zā) from a 12Ć12 grid of starting points, keeping distinct converged roots.Supported: + ā * / ^, i, pi, e, and sin cos tan sinh cosh tanh exp log sqrt conj abs re im. z^n uses the principal branch, and so do log and sqrt ā their branch cut along the negative real axis shows as a sudden colour seam. Worked example: f(z) = (z² ā 1)/(z² + 1) has zeros at ±1 and poles at ±i. The default circle (radius 1.2 about 0.5 + 0.5i) encloses the zero at 1 and the pole at i, so the winding number is 1 ā 1 = 0; shrink the radius to 0.6 and move zā to 1 to enclose only the zero and get 1.