Visualize complex functions f(z) = u(x,y) + i v(x,y). Hue = arg(f(z)), Lightness = log|f(z)|. Hover to inspect values.
A complex function f: ℂ → ℂ maps each input z = x+iy to an output w = u(x,y)+i v(x,y). Domain coloring encodes hue as the argument (phase) of f(z) and lightness as the magnitude (modulus). Zeros appear as dark spots, poles as bright white, and branch cuts as sharp hue transitions.
If f(z) = reiθ, then
Hue = θ mod 2π | Lightness = L(log₂(1+r))
Domain coloring reveals zeros (dark spots with full colour cycles), poles (bright white), and conformality (smooth gradients). The quadratic map z² + c is central to Julia set theory – changing c drastically modifies the mapping geometry.
| Function f(z) | Visual signature | Key features |
|---|---|---|
| z² | Double color cycle around origin | Zero at origin, conformal except at 0 |
| exp(z) | Horizontal stripes of constant hue | Periodic in imaginary direction, never zero |
| sin(z) | Hyperbolic pattern, zeros on real axis | Unbounded, periodic |
| (z-1)/(z+1) | Maps right half-plane to unit disk | Conformal, maps circles/lines to circles/lines |
| Log(z) | Spiral discontinuity along negative real axis | Branch cut, multivalued nature visible |
For c = 0.3+0.5i, the function distorts the plane in a way that prefigures Julia set dynamics. Try c = -0.8 + 0.156i to see intricate spiral patterns resembling Julia set boundaries.