home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 1: Collection A / 17Bit_Collection_A.iso / files / 74.dms / 74.adf / MandVroom.doc < prev    next >
Text File  |  1993-02-15  |  24KB  |  460 lines

  1.  
  2.   PURPOSE
  3.  
  4.   This document introduces you to MandelVroom, outlines it's features,
  5. and tells you how to use it.
  6.  
  7.   READINGS
  8.  
  9.   For a good explanation of Mandlebrot calculations, I recommend you
  10. look up the Computer Recreations column in the August 1985 edition
  11. of Scientific American magazine.
  12.  
  13.   You may want to read a book written by Dr. Benoit Mandelbrot, called
  14. "The Fractal Geometry of Nature", published by W. H. Freeman and Company.
  15. Dr. Heinz-Otto Peitgen and Dr. Peter Richter have written a very nice
  16. book called "The Beauty of Fractals".  It is published by Springer-Verlag.
  17. It has a some very nice pictures and is a good navigational guide. I
  18. recomend it.
  19.  
  20.   INTRODUCTION
  21.  
  22.   This program lets you navigate around the complex plane generating
  23. Mandelbrot pictures.  Picture data is saved in RAM allowing you to
  24. quickly recolor pictures using a powerful coloration mechanism.
  25.  
  26.   Once you've generated and recolored a picture, you can save it on
  27. disk in one of two formats: ILBM and MAND.  ILBM files are in IFF format.
  28. MAND files contain everything needed to recreate the picture.  It can
  29. take a long time to calculate Mandelbrot pictures.  MAND files allow
  30. you to save this precious data on disk.
  31.  
  32.   MandleVroom also has these features:
  33.     - Assembly language 32 bit fixed point Mandlebrot picture generator
  34.     - Assembly language Fast Floating Point Mandlebrot picture generator
  35.     - Picture presets
  36.     - Color palette
  37.     - Contour palette
  38.     - Mouse and graphics oriented user interface
  39.     - High resolution, interlace and halfbrite graphics modes supported
  40.     - Configurable number of bit planes
  41.     - Source in public domain
  42.  
  43.   TERMINOLOGY
  44.  
  45.   You need to know the following concepts to use this program:
  46.  
  47.     - Generators and Generation
  48.     - Navigation and Zooming
  49.     - Aspect Ratios
  50.     - Contours and Altitudes
  51.     - Pens and Colors
  52.  
  53.   GENERATORS AND GENERATION
  54.  
  55.   The generators perform Mandelbrot calculations over regions of the
  56. complex plane.  The generators produce a two dimesional array of
  57. iteration counts.  MandelVroom treats these iteration counts as
  58. altitudes.  You can use this program to navigate around the complex
  59. plane choosing regions to generate pictures over.
  60.  
  61.  Using preset locations as starting points, you can generate pictures.
  62. Once generated, you select a region within the picture that you want as
  63. the next picture.  When you start the generator, you 'zoom into' the
  64. new location in the complex plane.
  65.  
  66.   ASPECT RATIOS
  67.  
  68.   An aspect ratio is the ratio between the width and height of a rectangle.
  69. A square is a rectangle with a one to one aspect ratio.  The pixels on
  70. your screen have an aspect ratio that varies depending on graphics mode
  71. you are using.  MandelVroom takes the aspect ratios of the pixels into
  72. account when calculating pictures.
  73.  
  74.   Some Mandelbrot programs allow you to strech either the X or the Y
  75. axis.  In this case, a square picture window would not represent a square
  76. region in the complex plane.  MandelVroom will not allow you to do this.
  77.  
  78.   CONTOURS AND ALTITUDES
  79.  
  80.   Map makers often use color to indicate altitude in when making contour
  81. maps.  Contour maps usually have a 'key' indicating what colors relate
  82. to which altitude.  MandelVroom treats iteration count as altitude.
  83. It has a programmable key allowing you to assign pen numbers to ranges
  84. of altitudes.
  85.  
  86.   MandlVroom's programmable key is called the Contour Palette.  The Contour
  87. Palette contains thirty two contours.  You can use the thirty two contours'
  88. heights and colors to control the distribution of colors in your picture.
  89.  
  90.   PENS AND COLORS
  91.  
  92.   MandelVroom supports low resolution, high resolution, non-interlace,
  93. interlace, and half brite graphics modes.  In these graphics modes,
  94. the Amiga uses a hardware color indirection method for graphics
  95. display.  The Amiga hardware contains thirty two pens that can be filled
  96. with one of 4096 colors.  The following chart show how many pens
  97. the Amiga hardware supports for each graphics node.
  98.  
  99.                  Graphics Mode      Number of Pens
  100.                  ---------------- -----------------
  101.                   High Resolution         16
  102.                   Low Resolution          32
  103.                   Half Brite              64
  104.  
  105. Please note that interlace does not affect the number of pens available to
  106. you.
  107.  
  108.   MandelVroom has a Color Palette that allows you to copy, blend and
  109. exchange colors in the Amiga's color registers.
  110.  
  111.   STARTING MANDELBROT
  112.  
  113.   This version of MandelVroom can only be run from the CLI.
  114. To start the program, type:
  115.  
  116.                    MandelVroom
  117.  
  118.   When the program starts, it opens a custom screen and a Picture
  119. window.  It then generates a picture of the main Mandelbrot set.
  120. It will take a minute or two it to calculate this picture.
  121.  
  122.   THE MAIN MANDELBROT SET
  123.  
  124.   The black region in the middle of the picture is the Mandelbrot set.
  125. The bright area surrounding the Mandelbrot set is the place to explore.
  126. The darker regions outside the bright areas are of little interest.
  127. They are dark so they don't distract you from the interesting areas.
  128.  
  129.   NAVIGATION
  130.  
  131.   The Mandelbrot set is inside a circle of radius two, ceneterd about
  132. the origin of the complex plane.  The rectangular Picture window
  133. represents a rectangular region on the complex plane.  The pictures
  134. that MandelVroom generates depend on the regions you pick in the
  135. complex plane.
  136.  
  137.   MandelVroom generates pictures in the Picture window.  You can
  138. choose regions within the current picture to be the boundaries for
  139. the next picture.  When you generate, you will produce a big picture
  140. of the new region.  This is nicknamed 'zooming'.
  141.  
  142.   ZOOMING IN
  143.  
  144.   There are three steps to zooming in.
  145.  
  146.      1. Select a region for the next picture
  147.      2. Resize the Picture window if you like
  148.      3. Generate a new picture
  149.  
  150.   You select a region of the current picture using the Zoom Box.  The
  151. Zoom Box is a resizable and movable rectangle you use to box in a region
  152. for the next picture.
  153.  
  154.   THE ZOOM BOX
  155.  
  156.   You place, move, resize and close the Zoom Box using the mouse.  The
  157. following steps will open the Zoom Box in the Picture window:
  158.  
  159.       1. Pull down the Zoom Box item's Open sub-item
  160.       2. Place the mouse cursor in your Mandelbrot picture.
  161.       3. Depress and hold the left mouse button
  162.       4. Drag the mouse down and to the right
  163.       5. Release the left mouse button.
  164.  
  165.   The Zoom Box is a stick figure of an Intuition window.  The Zoom Box
  166. has a drag bar, resize gadget, and a close gadget.  The drag bar and
  167. close gadgets are at the top of the Zoom Box.  The resize gadget is in
  168. the lower right hand corner of the Zoom Box.
  169. The Zoom Box looks like this:
  170.  
  171.             +--- Close Gadget    +--- Drag Bar
  172.             |                    |
  173.             v                    v
  174.          +-----+----------------------------------+
  175.          |     |                                  |
  176.          |     |                                  |
  177.          +-----+----------------------------------+
  178.          |                                        |
  179.          |                                        |
  180.          |                                        |
  181.          |                                        |
  182.          |                                        |
  183.          |                                        |
  184.          |                                        |
  185.          |                                    +---+
  186.          |                                    |   |<---- Resize Gadget
  187.          |                                    |   |
  188.          +------------------------------------+---+
  189.  
  190.  
  191.   This is how you move the Zoom Box:
  192.  
  193.       1. Place the mouse cursor in the Zoom Box's drag bar
  194.       2. Depress and hold the left mouse button
  195.       3. Drag the Zoom Box around with the mouse
  196.       4. Release the left mouse button
  197.  
  198.   This is how you resize the Zoom Box:
  199.  
  200.       1. Place the mouse cursor in the Zoom Box's resize gadget.
  201.       2. Depress and hold the left mouse button
  202.       3. Resize the Zoom Box using the mouse
  203.       4. Release the left mouse button
  204.  
  205.   You can close the Zoom Box one of two ways:
  206.  
  207.       1. Press the Zoom Box's close gadget
  208.       2. Pull down the Close subitem of the Zoom Box item
  209.  
  210.   If you place a Zoom Box, and then decide you don't want to zoom,
  211. you can close the Zoom Box.
  212.  
  213.   RESIZING THE PICTURE WINDOW
  214.  
  215.   Once you've placed and sized your Zoom Box, you will want to resize
  216. the Picture window to have the same aspect ratio as your Zoom Box.  If
  217. you don't, when you generate you may get too little or too much of
  218. the area on the right side of the Zoom Box.
  219.  
  220.   GENERATING NEW PICTURES
  221.  
  222.   If you pull down the Generate item of the Project menu,  MandelVroom
  223. will generate a new picture for you.  Using the zoom box and the
  224. generator, you can repeatedly zoom in until you find things you
  225. think are interesting.
  226.  
  227.   STOPING THE GENERATORS
  228.  
  229.   Pictures take from minutes to hours to generate.  You can stop the
  230. generator by pulling down the Stop item of the Project menu.  Once stopped,
  231. the generators can not be restarted, except at the begining of the
  232. picture. Once the generator is stopped, you can proceed as though the
  233. whole picture was calculated.
  234.  
  235.   CHANGING MAGNIFICATIONS
  236.  
  237.   MandelVroom is like a microscope with variable magnification.  Every
  238. time you zoom in and generate a new picture,  you increase the
  239. magnification of your microscope.  You can also change the
  240. magnification by changing the height of the picture window.
  241. Making the picture window taller increases the magnification.  Making
  242. the picture window shorter decreases the magnification.
  243.  
  244.   If you make the picture window wider, while not changing it's height,
  245. you will not change magnification factor.  You will get a picture
  246. covers a wider piece of the complex plane.
  247.  
  248.   If you want to make a large version of a small picture, all you need
  249. to do is resize the window and generate.  You must take care to make
  250. sure the aspect ratio of the original window and the new window are the
  251. same.  If you make the picture too narrow, some of the things you want
  252. in the picture may be cut off.  If it is too wide, you may have extra
  253. things in your picture.
  254.  
  255.   The same is true for the relative aspect ratios of the zoom box and
  256. the picture window.
  257.  
  258.   GOOD NAVIGATING
  259.  
  260.   This program has nice facilities for zooming into the Mandelbrot set.
  261. It is severly lacking in methods for zooming out.  It's saving grace is
  262. that you can save interesting pictures to disk.  You can also reload
  263. these pictures and resume zooming.  You can use use disk files to
  264. record your journey in search of the ultimate Mandelbrot picture.
  265. File access is discussed in the LOADING AND SAVING section.
  266.  
  267.   The best way to be a good navigator is to practice.  Start by generating
  268. a picture of the main Mandelbrot set.  Zoom in on the perimiter of
  269. the set.  Try not to get too much Mandelbrot in the picture, it takes
  270. a long time to calculate.  If you like the picture, you can save it
  271. on disk, and zoom somewhere into the picture.  Keep doing this and
  272. you are bound to find something nice.
  273.  
  274.   Good navigating is an art.  Good subject placement and framing can make
  275. a world of difference in a picture.  Sometimes you want lot's of detailed
  276. real estate in the picture (like a picture of Yosemite Valley.)  Other
  277. times you want to isolate and capture a small object (like a picture
  278. of a small flower.)
  279.  
  280.   WHAT'S NEXT
  281.  
  282.   Once you have a picture generated, you probably want to recolor it.
  283. The next section explains how to pick and choose colors for your picture.
  284.  
  285.   PICTURE RECOLORING
  286.  
  287.   You can use the Color Palette and the Contour Palette to recolor a
  288. MandelVroom picture.  You can use the Color Palette to affect the
  289. colors in you pens.  You can also use the Contour palette to change
  290. the distribution of pens and colors in your picture.  The next
  291. section explains the use of the Color Palette.  The Contour palette is
  292. discussed in the THE CONTOUR PALETTE section.
  293.  
  294.   THE COLOR PALETTE
  295.  
  296.   You can open the Color palette by pulling down the Color item of the
  297. Edit menu.  The color palette looks like this:
  298.  
  299.         +---+-------------------------+---+---+
  300.         | . | Color                   |   |   |
  301.         +---+-------------------------+---+---+
  302.         |                                     |
  303.         | ++ ++ ++ ++  R  G  B  +---+         |
  304.         | ++ ++ ++ ++           |   | Copy    | <-- copy a pen's color
  305.         |             ++        +---+         |
  306.         | ++ ++ ++ ++                         |
  307.         | ++ ++ ++ ++    ++     +---+         |
  308.         |                       |   | Spread  | <-- Spread from pen to pen
  309.         | ++ ++ ++ ++           +---+         |
  310.         | ++ ++ ++ ++       ++                |
  311.         |                       +---+         |
  312.         | ++ ++ ++ ++           |   | Exchg   | <-- Exchange two pens
  313.         | ++ ++ ++ ++           +---+         |
  314.         |                                     |
  315.         | ++ ++ ++ ++                         |
  316.         | ++ ++ ++ ++                         |
  317.         |                                     |
  318.         | ++ ++ ++ ++                         |
  319.         | ++ ++ ++ ++                         |
  320.         |                                     |
  321.         | ++ ++ ++ ++                         |
  322.         | ++ ++ ++ ++                         |
  323.         |                                     |
  324.         | ++ ++ ++ ++                         |
  325.         | ++ ++ ++ ++                         |
  326.         |                                     |
  327.         +-------------------------------------+
  328.           ^        ^   ^  ^  ^
  329.           |        |   |  |  |
  330.           |        |   +--+--+-- RED/GREEN/BLUE potentiomenters
  331.           |        |
  332.           +--------+- Pens
  333.  
  334.  
  335.   ADJUSTING PEN COLORS
  336.  
  337.   You can use the Red, Green, and Blue potentiometer gadgets to adjust a
  338. pen's color components.  The following steps show you how to change a
  339. pen's color:
  340.  
  341.        1. Click the mouse on the pen you want to modify.
  342.        2. Adjust it's color using the R/G/B potentiometer gadgets.
  343.  
  344.   COPYING PEN COLORS
  345.  
  346.   You can copy one pen's color into another pen by performing the following
  347. steps:
  348.  
  349.        1. Click the mouse on the pen you want to copy
  350.        2. Click the Copy gadget
  351.        3. Click the pen you want to change
  352.  
  353.   SPREADING PEN COLORS
  354.  
  355.   You can create a range of colors between pens (e.g. a range of pens from
  356. dark green to light green) using the Spread gadget.  You use the spread
  357. gadget in the following way:
  358.  
  359.        1. Click the mouse on a pen at one end of the range
  360.        2. Click the Spread gadget
  361.        3. Click the mouse on the pen at the other end of the range
  362.  
  363.   EXCHANGING PEN COLORS
  364.  
  365.   These steps will exchange two pen colors:
  366.  
  367.        1. Click the mouse on one of the pens you want to exhange
  368.        2. Click the mouse on the Excg gadget
  369.        3. Click the mouse on the other pen
  370.  
  371.   NOTES ON CHANGING PEN COLORS
  372.  
  373.   Be very careful when changing the top four pens in the left most
  374. column of pens.  These pens are used by the system to render windows and
  375. screens.  If you make these pens the same color, you may have problems
  376. seeing MandelVroom's controls.
  377.  
  378.   The Amiga uses pens 17 through 19 when drawing the mouse cursor.  If
  379. change these pens, the cursor may be hard to work with.
  380.  
  381.   The Zoom Box on the picture window is rendered using a drawing mode
  382. called complement.  When the system is drawing a line in complement
  383. mode, it negates the pen number in each pixel in the line.  If you have
  384. five bit planes, you have thirty two pens.  The complement of pen 0 is
  385. pen 31.
  386.  
  387.  It you draw a line in complement mode, you can erase it by drawing the
  388. same line again in complement mode.
  389.  
  390.   If complementary pens have similar colors in them, then object drawn
  391. in complement mode is unnoticable.  If you have problems finding your
  392. Zoom Box, check out your pen colors.
  393.  
  394.   THE CONTOUR PALETTE
  395.  
  396.   The Contour Palette is a powerful control mechanism for coloring your
  397. Mandelbrot pictures.  It has thirty two contours.  Each contour has a pen
  398. and a height.  MandelVroom expects to find the contours' heights decreasing
  399. as you traverse the list of contours from 0 to 31.  Given this, a contour
  400. actualy represents a range of heights.
  401.  
  402.   Here is an example description of the list of four contours:
  403.  
  404.          Contour  Contour  Contour       Contour
  405.          Number   Height     Pen          Range
  406.          -------  -------  -------      ---------
  407.             0      1023       0         1023-1023
  408.             1       500      10         1022-500
  409.             2       300       1          499-300
  410.             3       100       2          299-100
  411.  
  412.   OPENING THE CONTOUR PALETTE
  413.  
  414.   You can open the Contour palette by pulling down the Contour item of
  415. the Edit menu.  The Contour Palette looks like this:
  416.  
  417.                 +---+-------------------------------------------+--+--+
  418. status line ->  |   | C: 0   H: 1023  P: 0                      |  |  |
  419.                 +---+-------------------------------------------+--+--+
  420.                 |                                                     |
  421. set pen or  --> | .. .. .. .. .. .. .. .. .. .. Set      +---+        |
  422. height gadgets  | .. .. .. .. .. .. .. .. .. ..       .. |   | ReColor|
  423.                 |                                        +---+        |
  424. increment   --> | .. .. .. .. .. .. .. .. .. .. +                     |
  425. height          | .. .. .. .. .. .. .. .. .. ..                       |
  426.                 |                                        +---+        |
  427.             +-> | ..                                     |   | Smooth |
  428.             |   | ..                                     +---+        |
  429.             |   |                                                     |
  430.             |   |    ..                                               |
  431.             |   |    ..                                               |
  432. height      |   |                               Alt.                  |
  433. potentiomenters |       ..                                            |
  434.             |   |       ..                                            |
  435.             |   |                                                     |
  436.             |   |          .. .. .. .. .. .. ..                       |
  437.             +-> |          .. .. .. .. .. .. ..                       |
  438.                 |                                                     |
  439.                 |                                                     |
  440. decrement   --> | .. .. .. .. .. .. .. .. .. .. -                     |
  441. height          | .. .. .. .. .. .. .. .. .. ..                       |
  442.                 |                                                     |
  443.                 +-----------------------------------------------------+
  444.                   ^                             ^      ^    ^
  445.                   |                             |      |    |
  446.                   +---------- Contours ---------+      |    + Commands
  447.                   0  1  2   .........     30 31        |
  448.                                                        +-- Ceiling
  449.  
  450.  
  451.   As the generator calculates pictures, it saves the data in RAM.  Once
  452. the picture is generated, you can change the Contour Palette and recolor
  453. the picture.  When you push the 'ReColor' gadget, MandelVroom traverses
  454. the Mandelbrot data, converting altitude to pen, and plotting pens in the
  455. picture window.  This mechanism allows you to recolor the picture quickly
  456. and repeatedly until you are happy with the way it looks.
  457.  
  458.   Each contour has four gadgets: a set gadget, an increment height gadget,
  459. a height potentiometer, and a decrement height gadget.
  460. ÿÿüÿÿüÿÿüÿÿøÿÿðÿÿàÿ€üüÿ€ÿÿàÿÿðð`@ÿÿøÀÿÿüÜãðÿÿüð`Àÿÿü˜`ðÿÿøóœð`ÿÿðÿÿàÿ€ü