home *** CD-ROM | disk | FTP | other *** search
- 4]-----------------------------------
- 3]MANDELbLITZ 1.0: User Manual
- 3]© 1990 by Nico Francois / PowerPeak
- 4]-----------------------------------
-
- 3]CONTENTS
-
- 1. An introduction
-
- 2. Usage
- 2.1 The file requester
- 2.2 Project menu
- 2.3 Prefs menu
- 2.4 Zoom menu
- 2.5 Color cycling
-
- 3. Palette
-
- 4. Mandel chunk
-
- 5. Future versions
-
-
- 3]1. AN INTRODUCTION
- Yep, another Mandelbrot program.
- If you do not know what Mandelbrots are, I suggest you immediately run
- out to your public library or local bookstore and pick up a book about them.
- Most people ARE fascinated by the patterns drawn by a Mandelbrot
- program and I hope they enjoy this program.
- Plotting Mandelbrots takes much of computing power. MandelBlitz uses
- the following two things to speed up calculation: a special algorithm to
- find large regions of the same iteration depth and the blitter to fill
- these; hence the name Mandel_BLIT_z. This results in a Mandelbrot program
- that calculates the standard set in about 45 seconds (PAL) or 35 seconds
- (NTSC) on a 68000 Amiga. I hope you agree this is very fast; hence the name
- Mandel_BLITZ. Hey, wait a minute, wasn't this name explained before?
- Other things that speed plotting are fast 16 and 32 bit integer
- calculations, both written in assembly for top speed.
- Observant people might notice a certain similarity between parts of
- MandelBlitz and TurboMandel (Fish 302, by Philip Marivoet). This is not a
- coincidence. (Hi, Philip.)
-
- 3]2. USAGE
- First some general things:
- If you intend to run MandelBlitz via the CLI or Shell There is no need
- to RUN it.The program will auto-detach and the CLI can be used for other things.
- MandelBlitz does not support overscan yet, but it does automatically
- adjust its screen to match the size of the Workbench screen. So if you
- put your Workbench in overscan, MandelBlitz will also work in overscan.
- Stupid way to do it, but it works. Next version will probably have overscan
- support.
- Press the left mouse button and move the mouse to draw a rubber-banded
- box. This box can be used to zoom in on the displayed Mandelbrot. It will
- always have the same width/height ratio as the screen. Zooming can be done
- most of the time, even during calculation.
- MandelBlitz will automatically change from 16 to 32 bit calculations
- when it is necessary (16 bit is not very accurate).
- Requesters can be answered by pressing 'Y'/'N' or 'Amiga-V'/'Amiga-B'.
-
- 3]2.1 THE FILE REQUESTER
- When you are required to enter a filename, MandelBlitz sets up a file
- requester. This requester lists all the files (and their length) of a
- selected directory. You don't have to wait for the directory scan to end.
- You can select a file or directory the moment you see it, or you can enter
- it in the appropriate string gadget. If you press <SHIFT-ENTER> in a string
- gadget, you will activate the other string gadget (file or directory). To
- get a list of all devices connected to your Amiga as well as all the assigns
- made, press the right mouse button.
- If you wait for the directory scan to end and quit the file requester,
- the next time you use it, all the files will still be there, so you don't
- have to wait for the directory to be read again. This feature has one
- disadvantage: If files are changed or added to the selected directory, they
- won't be shown in the list, or they will be shown with the wrong file
- length the next time the requester appears. Therefore, if you think anything
- has been changed to the selected directory, use the GET DIR gadget to
- re-read the directory. That is, when you save a crunched file on top of the
- old one, the old file length will be shown in the requester.
- Use the 'Hide/Show .info' gadget to hide or show .info files
- (Workbench icons). The entries are always sorted. Files and directories are
- separated.
- The requester also contains an invisible dragbar so you can drag it to
- another screen position to see what is beneath it.
-
- 3]2.2 PROJECT MENU
- Load IFF > Load an IFF Mandelbrot picture file. The picture must
- have a mandelchunk (see below) or it will not be loaded.
- Save IFF > Save current Mandelbrot as an IFF file with a mandelchunk.
- Title > Toggle the titlebar on/off.
- WorkBench > Open or close WorkBench if possible. (Adds 42K)
- About... > Show general information.
- Quit > Quit program or stop calculation (in which case the menu
- item reads 'Stop').
-
- 3]2.3 PREFS MENU
- Calculation > Type of calculation used to plot the Mandelbrot. Using 16
- bit ints is much faster than using FFP, but FFP is a
- more accurate than 16 bit ints. Note the difference
- between 32 bit ints and FFP seems to be very small.
- Iteration > Maximum iteration depth.
- Screen > Type of screen used to plot. First set flags then select
- NEW SCREEN. The calculation will restart as soon as the
- new screen has been opened.
- Palette > Change screen palette.
- Turbo > Use this if you have no REAL fast ram (A500s internally
- expanded or A2000s unexpanded). When turbo is on, the
- number of visible bitplanes will be decreased to a level
- that no longer slows your Amiga (4 in lo-res, 2 in
- hi-res). Internally the full number of planes will still
- be used. If you switch turbo off, all will be back to
- normal.
-
- 3]2.4 ZOOM MENU
- Coords > Brings up a requester where you can enter coordinates.
- You can use this to enter coordinates you have found in
- a magazine. Note the coordinates will be adjusted so
- the width/height ratio equals that of the screen.
- Restart > Restart calculation of current Mandelbrot.
- Reset > Back to the standard Mandelbrot set, ready to start
- zooming again.
-
- 3]2.5 COLOR CYCLING
- MandelBlitz supports color cycling. Start or stop the cycling by
- pressing TAB. Use SHIFT-TAB to reverse the direction and the UP and DOWN
- arrow keys to speed up/slow down cycling.
- Press the LEFT and RIGHT arrow keys when MandelBlitz is not cycling to
- shift the entire palette left or right. This is also possible when changing
- the palette.
-
- 3]3. PALETTE
- Because a Mandelbrot needs smooth color transitions, MandelBlitz has a
- special palette utility. It uses a sine wave pattern to calculate colors.
- Red, green and blue all have their own sine waves. First select a wave by
- pressing one of the R/G/B gadgets. You can then control the position of the
- top of this wave (the arrow left/right gadgets). Slope of the wave can be
- increased/decreased (use the color up/down gadgets), and height of the top
- of the current color can be adjusted (use the intensity up/down gadgets). I
- suppose OK, CANCEL and UNDO explain themselves.
- It takes a while to learn to control this, but once you get the hang of
- it the results can be quite staggering.
-
- 3]4. MANDEL CHUNK
- All IFF ILBM (picture) files saved by MandelBlitz incorporate an extra
- chunk called MANC. This chunk holds all the necessary information for the
- plotted Mandelbrot. This way you can continue zooming in on pictures you
- have saved. MandelBlitz will find the coordinates in the mandel chunk. The
- mandelchunk will be lost if you load a Mandelbrot in DPaint and save it
- again.
- The mandelchunk is the same as the mandelchunk generated by TurboMandel
- and is formed like this:
-
- struct ManC {
- /* starts like a normal IFF chunk, id = 'MANC' */
- ULONG id, chunklen;
- /* this is the special stuff */
- IEEE_64 xcoo, ycoo, xside, yside;
- UWORD iteration_depth;
- UBYTE calculation, flags;
- UWORD toppos[3], decrstep[3], colint[3];
- };
-
- 1° Xcoo, ycoo, xside and yside are the coordinates of the plotted
- Mandelbrot. They are represented as 64 bit IEEE floating point
- numbers (double) to be as portable as possible. Coordinates of
- the standard set are: (-2.5,-1.4)-(3.5,2.8).
- 2° Iteration_depth is the maximum number of iterations calculated before
- MandelBlitz decides to color the point black.
- 3° Calculation : 0 for FFP calculation, 1 for 32 bit integer and 2 for 16
- bit integer.
- 4° Flags : only bit 0 is used at the moment, it is set for 3D Mandelbrots
- (generated by TurboMandel). Since MandelBlitz does not support 3D
- Mandelbrots it will not load these pictures.
- 5° toppos[3], decrstep[3] and colint[3] are the internal variables used
- to calculate the palette (see above). RED is 0, GREEN is 1 and BLUE
- is 2, so toppos[1] means the toppos of GREEN.
-
- 3]5. FUTURE VERSIONS
- This is only the first version of MandelBlitz and there are many
- powerful enhancements planned. One thing I definitely want to incorporate is
- 68020/30 and 68881/2 support. I should be getting my hands on these very
- soon now. MandelBlitz will already speed up quite a bit when run on a '030,
- but with a special version it should be even faster. I am also thinking
- about extending the integer calculation to 48 bits or even 64 bits. Overscan
- support is also planned.
- If you have other suggestions (or if you don't think the program is
- worth improving) please drop me a line and let me know. Coming versions
- might be shareware or maybe even commercial. I don't know yet. This version
- however is freeware, though this does not mean I will eat or burn any money
- you include with your letters.
- Enjoy your quest for nice Mandelbrots.
- This is the program's first release.
- If you have suggestions or remarks about this program, or if you find
- any bugs, please let me know. Write to the following address: Nico François,
- Corbielaan 13, B-3060 Bertem, BELGIUM.
- Thanks to Ton Hospel for the idea to speed up calculation, and to
- Philip Marivoet for all sorts of things.
-
- (c) 1990 Nico François / PowerPeak
-
- 4]END OF TEXT
-