here is my applet. clicking on the
little arrow doohickey splits the magnitude image
into its real and imaginary parts, and back again.
you can paint, but only on the
magnitude image of both domains.
when painting, left arrow and right arrow change the size
of the brush, and typing in a number (1, 2, 4, or 8),
will give you a different number of brushes.