Annotation of mstools/samples/mandel/readme, revision 1.1.1.1

1.1       root        1: Sample: Demonstrating GDI and USER API Functions in Fractals
                      2: 
                      3: Summary:
                      4: 
                      5: The MANDEL sample demonstrates the Win32 GDI and USER API
                      6: functions in the setting of fractals.
                      7: 
                      8: More Information:
                      9: 
                     10: The Mandelbrot Dream provides the following functions:
                     11: 
                     12:   Drawing the Mandelbrot set and the corresponding julia
                     13:   set
                     14:   Zooming into any of the set
                     15:   MDI fractal drawing windows
                     16:   Floating Point Math/Fix Point Math
                     17:   Shifting color table entries
                     18:   Changing palette entries and animating palatte aka color
                     19:   cycling
                     20:   Loading/Saving bitmap created with special effect
                     21:   Changing bitmap color with flood fill
                     22:   Boundary tracing and creating a clip region out of it for
                     23:   creating special effect
                     24:   Enumerate printers for printing
                     25: 
                     26: 
                     27: Drawing the Mandelbrot Set and the Corresponding Julia Set
                     28: 
                     29: 1.To draw the Mandelbrot set, choose the Mandelbrot Set
                     30:   menu item from the Create menu to create a MDI child
                     31:   window to draw the set in if one has not already been
                     32:   created.
                     33: 
                     34: 2.Then, choose either "use Fix Point math" or "use Floating
                     35:   Point math" from the Draw menu to decide if floating
                     36:   point or fixed point math is desired for calculation.
                     37:   Fix Point is faster, however you lose resolution sooner
                     38:   as you zoom in.
                     39: 
                     40: 3.Also, choose the number of iterations from the Iteration
                     41:   menu item and choose Step from the Draw menu.  The higher
                     42:   the number of iterations, the more detail is the picture
                     43:   but the slower to generate the picture.  The step
                     44:   determines whether every scan line is drawn.  The more
                     45:   scan lines it has, the better the picture but the slower
                     46:   to generate the picture.
                     47: 
                     48: 4.To start drawing, choose Draw Set from the Draw menu.
                     49: 
                     50: 5.To draw the Julia set, use the right mouse button to
                     51:   select a point in the Mandelbrot set (the drawing surface
                     52:   of the Mandlebrot window). A new Julia MDI window will be
                     53:   created.  Then choose Draw Set from the Draw menu to
                     54:   start drawing.
                     55: 
                     56: 6.The point selected with the right mouse button determines
                     57:   the complex constant to use for the Julia Set.
                     58: 
                     59: Zooming Into Any of the Set
                     60: 
                     61: 1.To zoom in, click, drag and release with the left mouse
                     62:   button to describe the zoom in region.
                     63: 
                     64:   A new MDI child of the same type as the parent
                     65:   (Mandelbrot window or Julia window) will be created.
                     66: 
                     67: 2.Choose Draw Set from the Draw menu to start drawing.
                     68: 
                     69: MDI Fractal Drawing Windows
                     70: 
                     71:   Choose either Mandelbrot Set or Julia Set from the Create
                     72:   menu for creating a new MDI window for drawing.
                     73: 
                     74:   Or, use the left mouse button to describe a zoom in
                     75:   region in either a mandelbrot or Julia MDI window for
                     76:   creating a new MDI window for drawing.
                     77: 
                     78:   Or, click on the Mandelbrot window with the right mouse
                     79:   button for creating a Julia MDI window corresponding to
                     80:   the mouse click position in the Mandelbrot window.
                     81: 
                     82: Floating Point Math/Fix Point Math
                     83: 
                     84:   Choose the appropriate menu item ("Floating Point math"
                     85:   or "Fix Point math") from the Draw menu.  The Fix Point
                     86:   math uses 20.11 fixed point integer arithmetic for
                     87:   calculation.
                     88: 
                     89: Shifting Color Table Entries
                     90: 
                     91:   Choose Shift from the Color menu or hit F10 to shift the
                     92:   color table entry.  The picture of the active MDI window
                     93:   will be updated.
                     94: 
                     95: Changing Palette Entries and Animating Palatte (aka Color
                     96: Cycling)
                     97: 
                     98:   Choose Cycle from the Color menu or hit F11 to start
                     99:   color cycling the picture.
                    100: 
                    101:   The menu item will be grayed if the display device does
                    102:   not support palette management.  Currently, only the MIPs
                    103:   display driver supports that.
                    104: 
                    105: Loading/Saving Bitmaps Created With Special Effect
                    106: 
                    107:   Choose Load Bitmap from the Bitmap menu to load a bitmap
                    108:   into the active child window.  Or, choose Save Bitmap As
                    109:   to save the picture in the active MDI child window.
                    110: 
                    111: Changing Bitmap Color With Floodfill
                    112: 
                    113:   Choose Custom from the Color menu to select a color.
                    114:   Then the cursor will be changed to a paint can over the
                    115:   active child window.  Click with the left mouse button on
                    116:   the picture, the old color under the cursor will be
                    117:   changed to the new color.
                    118: 
                    119: Boundary Tracing and Creating a Clip Region Out of it For
                    120: Creating Special Effect
                    121: 
                    122:   From any active Mandelbrot window, choose Set Mandelbrot
                    123:   Clip region from the Region menu.  The boundary of the
                    124:   escape region will be traced.  The region will then be
                    125:   selected as a clip region.
                    126:    
                    127:   Thus, if you load a bitmap for display, the bitmap will
                    128:   only show through the clip region.  The new picture can
                    129:   then be saved.
                    130: 
                    131:   To remove the clip region, choose Remove Clip Region from
                    132:   the Region menu.
                    133: 
                    134:   Note, the boundary tracing algorithm may trace out a
                    135:   small island of only several pixels and stop.  If that
                    136:   happens, you might change the size of the window or
                    137:   create another zoom window and trace again.
                    138: 
                    139: Enumerate printers for printing
                    140: 
                    141:   On start up, the Mandelbrot Dream will enumerate the
                    142:   printers and insert the printers into the Print menu.
                    143:   Then selecting the printer on the Print menu will print
                    144:   the picture in the active MDI window.
                    145: 
                    146: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.