home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 100.lha / FramSet / MSET.DOC < prev    next >
Text File  |  1986-11-20  |  6KB  |  132 lines

  1.  
  2. Marc Lupien; [71550,640]
  3.  
  4. Documentation on FRAMSE.ARC  (DL16 in amigaforum)
  5.              and FRAMSS.ARC  (DL3 in forth forum)
  6.  
  7.    FRAMSE.ARC contains: (dl16 in AMIGAFORUM)
  8.     1- a copy of this file     (mset.doc)
  9.     2- the executable program  (mset)
  10.     3- the source program main (mset.f)
  11.     4- source part 2 utilities (myconsole.f)
  12.     5- source part 3   ""      (break.f)
  13.     6- source part 4   ""      (mset.script)
  14.  
  15.    FRAMSS.ARC contains: (dl3 in FORTH forum)
  16.     1- a copy of this file     (mset.doc)
  17.     2- the source program main (mset.f)
  18.     3- source part 2 utilities (myconsole.f)
  19.     4- source part 3   ""      (break.f)
  20.     5- source part 4   ""      (mset.script)
  21.  
  22.    NOTE that there is in DL6 in AMIGAFORUM two picture generated
  23.    with this program. both in 320x400 IFF Deluxe-Paint format.
  24.    E.G. file dl6 FRAMS1.ARC and FRAMS2.ARC
  25.  
  26.    Go take a look at them...
  27.  
  28.  
  29.    The puspose of this program is to compute and display what is called
  30. the Mandelbrot set.  In short the purpose is to produce GREAT PICTURES of
  31. FRACTALS.
  32.  
  33.    The program was written in Multi-Forth for the Amiga v1.21.
  34.  
  35.    From BYTE magazine, december 1986 by Peter B. Schroeder :
  36.  
  37.    <<... The Mandelbrot set is one of the intriguing mathematical
  38. structures you can explore with the Amiga.  In 'The Fractal Geometry of
  39. Nature', Benoit Mandelbrot defines a fractal as "a set for which the
  40. Hausdroff Besicovitch dimension [fractional dimension] strictly exceeds
  41. it's topological dimension." ...
  42.  
  43.    WHAT IS THE MANDELBROT SET ?
  44.  
  45.    ... The Mandelbrot set is a set of numbers z = c^2 + c where c is a
  46. complex number of the form a + bi and z iteratively squared never
  47. produces a square root of a^2 + b^2 larger than 2.  Note that since i^2
  48. equals -1, (a + bi)^2 equals a^2 + 2abi - b^2, and that the iterative
  49. squarring of these numbers produces a jagged, non differentiable result. 
  50. If the sum of the squares does grow beyond 4 within a large number of
  51. iterations, it will eventually approach infinity and, by definition, not
  52. be part of the Mandelbrot set.
  53.  
  54.    IF you take a matrix, a by b, and iteratively square every element in
  55. it until either the sum of their squares exceed 4 or you reach 1000
  56. iterations, you can determine a count of the number of iterations that
  57. each element in the array requires.  Those elements with counts of 1000
  58. are part of the Mandelbrot set; those with counts that are very large but
  59. still less than 1000 are near the Mandelbrot set; and those with low
  60. counts are far from it....>>
  61.  
  62.  
  63.    ABOUT THE PROGRAM :
  64.  
  65.    You can execute this programs FROM CLI ONLY.  You have the choice of
  66. launching the programs using RUN or not.  The porgram requires Amiga
  67. system software version 1.2.
  68.  
  69.    Description of the questions you need to answer:
  70.  
  71.    1- The Y axis resolution ?  You have two choices of resolutions :
  72. 320x200 pixels (if you type 'L' for low) or 320x400 pixels (if you type
  73. 'H' for high).
  74.  
  75.    2- The X start coordinate ?  It is a floating point value
  76. corresponding to the X coordinate of the lower left pixel of the picture
  77. to compute.  The whole Mandelbrot set, on X axis, range from -2.0 up to
  78. approx 1.0.  You can try any number, you have approx a 7 digits
  79. precision.
  80.  
  81.    3- The Y start coordinate ?  It is a floating point value
  82. corresponding to the Y coordinate of the lower left pixel of the picture
  83. to compute.  The whole Mandelbrot set, on Y axis, range from -1.25 up to
  84. approx 1.25.  You can try any number, you have approx a 7 digits
  85. precision.
  86.  
  87.    4- The Range ?   It's the 'length' over which we compute the set on
  88. both the X and Y axis.  E.G. Start Y and Y of -2.0 and -1.25 respectively
  89. and a range of 2.5 means that we compute the set with values from -2.0 to
  90. +0.5 on the X axis and from -1.25 to +1.25 on the Y.
  91.  
  92.     Try these values :
  93.     Start X        Start Y        Range
  94.     -2.0        -1.25        2.5
  95.     -.25        .88        .25
  96.  
  97.    By using different values (especially using a smaller range value) You
  98. can ZOOM-IN into any part of the set; discovering fascinating pictures.
  99.  
  100.    Note that most of the time; the more interresting the picture; the
  101. longer it takes to compute.
  102.  
  103.    After you answered to all the questions there is a 5 seconds delay
  104. before the processing begins.  After that a new screen will open in front
  105. of the workbench screen showing you the picture as it is generated.
  106.  
  107.    The drag bar and the depth gadgets can be used even though they are
  108. not visible.  Once the picture is completed, the program waits for you to
  109. hit Escape on the picture screen before closing it.  If the escape
  110. doesn't seems to work with the graphic screen upfront, try clicking the
  111. left mouse button in the middle of it before hitting escape therefore
  112. making sure that this window is active.
  113.  
  114.    On the original console window, the program will display the time it
  115. was when it started the picture; the row number it is now computing and
  116. an estimated time left to compute the picture from the time it took to
  117. compute the last row.
  118.  
  119.    If you want to stop the processing before the whole picture is
  120. generated you first have to get the workbench screen upfront, then
  121. activate the console window of the program and hit CTRL-C thus signaling
  122. a BREAK to the program. The program will stop once the current row is
  123. processed.  Note that the program does not stop right away,  it does so
  124. only when the current row is over.  Second the program is waiting for you
  125. to hit escape key on the graphic screen.
  126.  
  127.    Once the whole picture is generated (it can take hours) I suggest you
  128. use a program like GRABBiT to save in a file the picture on that screen
  129. since I did not implemented an IFF file save of the picture in the
  130. program.
  131.  
  132.