Domain Coloring





Download plot

About domain coloring

  • Each point z in the plane is colored according to the value f(z). Hue encodes the argument of f(z), cycling through the spectrum as arg(f(z)) goes from 0 to 2π.
  • Brightness is modulated logarithmically by |f(z)|, creating concentric rings around zeros (black points where all colors meet) and poles (bright regions where colors rotate rapidly).
  • Branch cuts appear as sharp color discontinuities. The number of full color rotations around a point equals the order of the zero or pole there.

Controls

  • Click and drag to pan the view.
  • +/− keys to zoom in/out; arrow keys to pan.
  • Press Enter or click "apply changes" to update after editing any input field.

Predefined objects

  • Constants: e, pi, i.
  • Operations: z*w, z^w, z+w, z−w, z/w, abs(z), sqrt, exp, log, sin, cos, tan, arcsin, arccos, arctan, re, im, conjugate, lambertw.

Contact me at andrew@graven.com with any comments, suggestions, or feature requests.