xmandel v2.0

NEW in 2.0

Actually, nothing _really_ dramatic, as far as performance or features :-(
But.. I cleaned up the code and made it use
"XtAddAddWorkProc()" as it should, not the nasty hacks I had.
If you're interested in writing code that does long-drawn-out drawing,
but still keeping buttons active, you should look at my code.

Also.. it finally recognises WM_DELETE_WINDOW !
I tried to encapsulate the setup.
[setup-deletewindow()]
Again, look at the code if you're interested.

  ****************************************************
  
Initial startup routines inspired by the wonderful coding practice of
"tetris-2.1" by Qiang Alex Zhao

FOR COMPILATION under R4, you have to change some Xaw_____ constant
names to Xt_____


To Compile:

  xmkmf
  make

(optionally: make install.man)

   COMPILE OPTIONS
   ---------------

There is a computational shortcut I discovered by "accident":

Instead of going through the WHOLE schpiel of squaring the real and
imaginary part of a point, then adding, to determine the magnitude, to
determine if is escapes the radius...

  ...it can just check if EITHER the real part OR the imaginary part is
greater than the escape radius.

This works pretty well. You can traverse the traditional mandelbrot paths
fairly well. But things are more jaggy.

XMandel uses the "full" checking by default.

Ironically, however.. some portions are MUCH more interesting if you
run the program with the faster check. Not only is it computationally
shorter.. It just happens to show off parts of the mandelbrot set MUCH
better than the traditional way. It seems to act like a "contrast
booster". It also makes the colors come out nicer, once you start
magnifying.
But it does make things look slightly different than "genuine" mandelbrot
generations in some areas.
I personally recommend ALWAYS using "xmandel -fast".
[ALthough, yes another disclaimer...it isn't always noticably faster!]

OTHER OPTIONS
Speaking of "interesting", there is also a "relative boundary"
compile-time option. Coupled with a small radius, this can lead to
strange things. Color boundaries may change as you move around or zoom.
Psychadelic!
