home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / graphics / fractal2 / fractals.txt < prev    next >
Text File  |  1985-11-17  |  6KB  |  115 lines

  1.      
  2.      FRACTAL2.PRG
  3.      
  4.      Mandelbrot Set Generator Program
  5.  
  6.      Originally programmed in "C" by Tom Hudson and published in 
  7. the January, 1986 issue of ANALOG Computing.  GFA Basic 
  8. conversion, GEM support, etc. added by Blake Arnold (co-author of 
  9. Ultra-Graph from the November, 1988 issue of ST-Log).    
  10.  
  11.      Copyright 1989 by ANALOG computing, Tom Hudson, Phil Mast and 
  12. Blake Arnold.  This program may be freely distributed as long as 
  13. all copyright notices remain intact and this documentation file is 
  14. included.
  15.  
  16.      You should have a few files in the ARChive that this text 
  17. was extracted from, the most important file being "FRACTAL2.PRG".  
  18. The file "MANDEL.MBS" is the default Mandelbrot set, which is 
  19. automatically loaded in when the program is booted.  If it is not 
  20. found in the same directory as "MANDEL2.PRG", you'll have to 
  21. redraw it from the default values.  Loading the default fractal 
  22. (or any other fractal) set in allows you to zoom in on a part 
  23. without wasting time drawing it, but more on that later.  Also in 
  24. the archive are several parameter files that will produce 
  25. interesting fractals.
  26.      Also notice I've included the source code.  I wish more 
  27. authors would do this because I very seldom find a program that 
  28. has all the features I'd like to incorporate into it.  Merge the 
  29. source into the version of GFA Basic you're using.  If you think 
  30. you can improve on the modifications I've made, or want to add 
  31. something I haven't included feel free to do so (and make sure I 
  32. get a copy).  However, if you just want to draw fractals I suggest 
  33. using the compiled program for speed.
  34.      I'm not going to go into detail on explaining the Mandelbrot 
  35. set.  If you need more information on fractals in general, 
  36. Scientific American has published several good articles on the 
  37. subject.  Specifics on the relationships of the parameter values 
  38. of this program can be found by reading Tom Hudson's original 
  39. article in the January, 1986 issue of ANALOG Computing.
  40.  
  41.      Program Operation
  42.  
  43.      Due to the need for as many colors as possible, the program 
  44. runs only in low resolution.
  45.      One hint on operating the program: increasing the number of 
  46. iterations increases the amount of detail the program will 
  47. produce.  When increasing iterations keep in mind that there is an 
  48. inverse relationship between detail and drawing speed; while 
  49. detail increases the program's drawing speed decreases.  I seldom 
  50. use over 300 iterations even for extremely small, detailed 
  51. fractals.
  52.      The program operates with two screens as DEGAS Elite does; a 
  53. click on the RIGHT mouse button flips between the screens.  While 
  54. at the parameter screen holding the LEFT mouse button and clicking 
  55. the RIGHT button draws a fractal with the current parameters.  
  56. With those exceptions use of the mouse is normal.
  57.  
  58.      Drop Down Menus
  59.  
  60.  File
  61.   Degas Save - Saves a Degas picture of the current fractal
  62.   Save Fractal - Saves the current fractal (extender "MBS")
  63.   Save Parameters - Saves the current parameters (extender "MBP")
  64.   Load Fractal - Loads in a saved fractal
  65.   Load Parameters - Loads in saved parameters to draw a fractal
  66.  Options
  67.   Spectrum - The programs default color palette 
  68.   Yellow - Two yellow palettes (select one)
  69.   Gradient - Red, Green, and Blue palettes (select one)
  70.   Sys. Default - Colors set at the desktop (use the Control Panel)
  71.   Draw it! - Draws a fractal with the current parameters
  72.   Input Data - Allows alteration of the current parameters
  73.   Iterations - Allows the number of iterations to be changed
  74.   Defaults - Restores default parameters
  75.  
  76.      The program draws a fractal in 4 passes, each time filling in 
  77. more of the missing pixels on the screen.  This feature allows you 
  78. to see what the final fractal will look like about 3 times faster 
  79. than calculating each pixel on the first pass would.  It also 
  80. allows you to halt the drawing and zoom in on a portion without 
  81. waiting for the entire screen to be filled.  To stop the program 
  82. while it's drawing a fractal, hold the RIGHT mouse button until 
  83. you hear a beep.  After that the parameter screen will be 
  84. available (switch screens to get to it), or you'll be able to zoom 
  85. in on a portion of the fractal.
  86.      
  87.      Steps on Zooming in on a Fractal
  88.  
  89.      This may seem confusing at first, but once you try it you'll 
  90. see how easy it really is.  It's actually easier DONE than SAID.
  91.      1. Go to the fractal screen
  92.      2. Click the LEFT mouse button until you hear a bell and the 
  93. "Center?" prompt appears at the top left of the screen.  You are 
  94. now ready to zoom in.
  95.      3. Place the crosshair on the area that you wish to be the 
  96. CENTER of the fractal you will be drawing and click the LEFT mouse 
  97. button until you hear a bell.
  98.      4. The "Range?" prompt should now occupy the top left corner 
  99. of the screen.  Place the crosshair 1/2 of the distance you wish 
  100. to be your total range to the right (or left) of your center mark.
  101.      5. The program will now draw a black frame that approximates 
  102. the screen size scaled to fit around your fractal.  Your fractal 
  103. (when drawn) will include what is in the frame, but will be scaled 
  104. to fit the entire screen for greater detail.  Also notice that the 
  105. parameters have been adjusted to reflect the new fractal's 
  106. coordinates and dimensions.
  107.  
  108.      I think you'll find that this is the best fractal program out 
  109. for the ST.  It may not be the fastest, but it's a lot easier to 
  110. use than some of the other fractal programs I've seen.  If you run 
  111. into any bugs load the source code and fix them, or let me know 
  112. about them.  I can be reached on Delphi (username 1BLAKE) if you 
  113. have any questions about the program.
  114.  
  115.