• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lug/H03-May-2022-4,2822,802

ImakefileH A D18-Oct-20011.8 KiB6751

MakefileH A D03-May-20221.3 KiB5120

Makefile.noimakeH A D18-Aug-20011.3 KiB5120

READMEH A D21-Oct-20015.8 KiB150121

anim.cH A D18-Aug-200116.4 KiB568489

colors.cH A D19-Oct-20019.5 KiB625533

draw.cH A D18-Oct-20019.1 KiB429311

file.cH A D18-Oct-20017.6 KiB400303

icon.xbmH A D18-Aug-20013.2 KiB4746

mandel.cH A D19-Oct-200120.9 KiB997776

menu.cH A D19-Oct-200110.7 KiB392348

mxp.cH A D19-Oct-200114.5 KiB518401

mxp.hH A D16-Oct-20011.4 KiB9373

README

1		    ============================
2		    = MANDELBROT EXPLORER v1.3 =
3		    ============================
4
5Introduction
6============
7Mxp (Mandelbrot explorer) is an X application for computing and exploring
8Mandelbrot sets.  Features of mxp include:
9
10	- zoom and un-zoom
11	- dynamic resizing of drawing window
12	- setup save/load
13	- asynchronous image generation (buttons always work)
14	- GIF output
15	- animation
16	- nine color schemes
17	- color rotation
18	- color change options
19	- detailed statistics
20
21
22Installation
23============
24If you have imake:
25   1) Edit Imakefile.  Only the following options need to be set:
26				- Compiler optimization options
27				- If you have the XPM library and where it is
28				- Install directory
29				- Select Optional MPI support
30   2) type "xmkmf"
31   3) type "make"
32   4) type "make  install"
33
34If you don't have imake:
35   1) Edit Makefile.noimake (same options as in Imakefile above)
36   2) type "make -f Makefile.noimake"
37   3) type "make -f Makefile.noimake install"
38
39
40Documentation
41=============
42One of the marks of a good GUI interface is good usability without
43having to read any documentation or refer to help files.  Most of the
44functions in mxp are fairly intuitive and don't require help.  However
45some of the options and features need some explanation.  The following
46are tips for use and should suffice.  Since mxp does not have any options
47other than the standard X11 options a man page has not been included.
48
49Zooming:
50Hold down the left mouse button and drag to zoom.  A box will highlight
51the zoom area.  The zoomed image will be created when the button is
52released.
53
54Defaults:
55The defaults for mxp may be altered by using the "File" menu "Save as
56Default" option.  This option will save the current settings into
57$HOME/.mxprc".  When mxp is started the defaults settings will be read
58from this file.
59
60Xplot Data:
61The "Dump Xplot Data" option under the file menu will create a data file
62(mxp.data) that may be used as input to the xplot utility to create some
63really spiffy 3D Mandelbrot renderings.  Be warned, the xplot data file
64is big!
65
66Reset:
67The reset option in the "File" menu will restore all of the default settings
68except for the window size.
69
70Resizing:
71The drawing window may be resized by either selecting one of the standard
72sizes from the "Size" menu or by using the mouse to stretch the window.
73By default an aspect ratio of 1.333 will be maintained when the window
74is stretched.  If a different aspect ratio is desired select "Var Aspect"
75under the size menu.  If you end up covering the controls with the
76drawing window pressing the left mouse button will raise the controls.
77This is handy when doing full screen images.
78
79Color Options:
80The "Color Scheme" menu offers 9 color options and 2 options for gray scale.
81
82The number of color changes per iteration can be changed in the "Color Inc"
83menu.  This is useful when images get too busy from frequent color changes
84at high magnification levels.  The "Single Seq" option normalizes the
85iterations such that each color in the color map will only be used once.
86
87The "Colors" +/- buttons set number of colors used in the private color map.
88This option only affects the number of color steps and does not affect
89which colors are used.  Larger number of colors will result in smoother
90color transitions, but not necessarily more interesting pictures.  The
91maximum number of colors is 512 (224 with 8 bit color depth displays).
92
93The "Color Rotate" +/- buttons rotate the colors in the private color
94map. Try it!
95
96Animation:
97The animation option under the "File" menu is used to create a sequence
98of GIF files that can be made into an animation using xanim, an
99mpeg-encoder or other available animation tools.  To create an animation
100sequence create two setup files (starting and ending) via the "Save Setup"
101option in the "File" menu.  Only the initial co-ordinates and the initial
102number of iterations are used from the starting setup file.  The color
103scheme, size, etc. are set from the ending setup file.
104
105Selecting the "Animate" option will bring up a new window with entry panels
106for configuring the animation.  There are panels for entering the starting
107and ending setup filenames, the output directory for the GIF files and
108a filename prefix for the GIF files.
109
110The "Scaling Factor" sets the zoom in distance between each frame.  The
111"Scaling Factor" is a multiplier that determines the dimensions of next
112frame in the animation. For example with the default setting of 0.80 each
113successive frame will have a dimension that is 80% of its predecessor.
114
115The creation of GIF files and displaying of progress in an X11 window can be
116be individually controlled via the "Display" and "Create GIFs" buttons.  The
117"Estimate" button does a quick computation of the number of frames that
118will be created based of the current settings.
119
120
121Bugs
122=====
123Could be some, but then if I knew where they were I would fix them, right?
124
125However, there is a kludge that you may want to know about.  Mxp has code
126to place it's windows next to each other.  To do proper placement the
127dimensions of the decorations added by the window manager are needed.
128If there is a way to find out the width and/or height of these decorations
129I could not figure it out.  Therefore, I added 2 defines (BORDER_WIDTH,
130TITLE_HEIGHT) to mxp.h and set them to values that work for my window
131manager setup.  If the window placement is less than ideal you can tweek
132the values to get things in the right places.
133
134Mxp currently supports 8, 16 and 24 bit color depths.  32 color depths may
135work but it has not been tested.
136
137
138Acknowledgments
139================
140The routines to generate GIF output (in the lug directory) are unmodified
141modules from the "lug" library, written by Raul Rivero.
142
143Many of the original concepts and a small amount of code came from an
144example in the Cray Research "UNICOS Xwindow System Reference Manual
145SR-2101".
146
147--
148Chris Brady
149E-mail cbrady@cray.com
150