Mandelbrot Plotter
by Nick Smith

This application was originally published on the RISC User Volume 4 Issue 5 disc, and has now been updated with enhanced 32-bit multiplication routines and a faster squaring routine.

This program plots the Mandelbrot set, or a selected part of it. When run, the program draws the base Mandelbrot. Select and Adjust change the size of a white square which can be positioned with the mouse. Clicking Menu will enlarge the area within the white square.

A number of keys are also used by the program. B returns to the base Mandelbrot. I allows the position and size of the displayed area to be input from the keyboard. M allows values to be input to determine melting, as described by Steve Wright in Fractal Report, Volume 1 Number 2. S saves the current screen. U returns to the previous plot (or the last plot stored if the plot buffer is full), and X exits the program after confirmation.

The keys 0-9, +, and - allow the colours to be selected from a range of 20 colour sets. Pressing + results in the keys 0-9 selecting colour sets 10-19, while pressing - results in them selecting colour sets 0-9. Once the appropriate colour set has been selected, clicking Menu will redraw the screen using the new colours.

Screens are saved in a squashed format using the ScreenSquasher module (!MandlPlot.Squash). They are saved under the filename MPicN, where N starts at 1 and increments with each save operation. The files are saved in <Plot$Dir>, which unless defined elsewhere is set to !MandlPlot.Pics. The screens can be reloaded using the *PicLoad command in the ScreenSquasher module, or by double-clicking on the files from the Desktop.
