home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Demos / Mandelbrot.app / English.lproj / HelpPanel.nib (.txt) next >
NeXT TypedStream Data  |  1992-02-09  |  7KB  |  125 lines

  1. typedstream
  2. StreamTable
  3.     HashTable
  4. Object
  5. [20c]
  6. typedstream
  7. [619c]
  8. typedstream
  9.     HashTable
  10. Object
  11. FirstResponder
  12. HeaderClass
  13. %%%%i@@
  14. firstnib
  15. checkSpelling:
  16. alignSelCenter:
  17.     unscript:
  18. pasteFont:
  19. runPageLayout:
  20. superscript:
  21. copyRuler:
  22.     copyFont:
  23. selectAll:
  24. pasteRuler:
  25. toggleRuler:
  26. showGuessPanel:
  27. alignSelLeft:
  28. printPSCode:
  29. paste:
  30. performClose:
  31. arrangeInFront:
  32. subscript:
  33. copy:
  34. alignSelRight:
  35. delete:
  36. orderFrontNXColorPanel:
  37. underline:
  38. performMiniaturize:
  39. MandelControl
  40. genericobject_nib
  41.     helpPanel
  42. [6101c]
  43. typedstream
  44.     HashTable
  45. Object
  46. NibData
  47. @@@@s
  48. Storage
  49. {*@@}
  50. [3{*@@}]
  51. File's Owner
  52. CustomObject
  53. MandelControl
  54. Panel
  55. WindowTemplate
  56. iiii***@s@
  57. Mandelbrot Help
  58.     Responder
  59. ScrollView
  60. ClipView
  61. ciifffcfffs
  62. [5298c]{\rtf0\ansi{\fonttbl\f0\froman Times;\f1\fswiss Helvetica;}
  63. \margl40
  64. \margr40
  65. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b\i0\ul0\fs28 GENERAL
  66. \b0 \
  67. This application computes the Mandelbrot Set on the built-in Motorola DSP56001 signal processor and displays the  result on the Megapixel screen.\
  68. While this application can generate beautiful images on a monochrome display, it is at its best when run on a color system.\
  69. \b THEORY
  70. \b0 \
  71. The Mandelbrot Set can be defined in many ways; e.g. in terms of Julia Sets, iterative maps, chaotic electrostatics, and so on.  A purely algebraic description is the following.  Let c be a point in the complex plane, and set z = 0.  Then iterate the non-linear relation:\
  72.     z := z*z + c\
  73. until | z |, the magnitude of z, exceeds 2.  For some extremely
  74. some would say unthinkably
  75. pathological set of initial points c the iteration goes on forever, with | z | < 2 always.  This set is the Mandelbrot Set.  Since computers do not have infinite speed, we approximate by finding those points c for which the iteration goes at least Depth iterations, where Depth is some cut-off parameter.  As most Mandelbrot programs do, this one colors each point c according to how many iterations arise from that point.  You can assign colors as a function of iteration count using the Color Map (q.v.).  By default, points within the Mandelbrot set are colored black.\
  76. \b PARAMETERS
  77. \b0 \
  78. Parameters are set via the five TextFields at bottom center of the window.  The meanings of the parameters are\
  79. X Center, Y Center: the coordinates in the complex plane of the current center of the display.\
  80. X Scale, Y Scale: the side of the display square.  Very small scale means very  high magnification.  NOTE that allowing the DSP to calculate out of bounds regions will cause integer overflow effects, such as replicated patterns.  For sufficiently small values of X Scale and Y Scale, you will see the effects of limited precision of the DSP (24 bits).\
  81. Depth: the maximum Mandelbrot iteration per pixel.\
  82. NAVIGATING THROUGH THE MANDELBROT SET\
  83. When the program is first started, the parameters are set up to display the entire Mandelbtor set.  Press the RUN button to compute and display the ent@    
  84. set.  \
  85. There will always be worlds within the Mandelbrot set that have never been visited.  You can go to a new place on the current display by dragging out a square with the mouse.  This new display box is active when you next hit the Run button.  Remember that if you go too deep you will see the effects of the limited precision of the DSP. \
  86. The Places menu defines a number of 
  87. pretty
  88.  places within the Mandelbrot set which you can go visit any time you wish.  Simply click on the desired name and hit the Run button to see it.\
  89. \b THE COLOR MAP
  90. \b0 \
  91. The Mandelbrot iteration algorithm terminates when | z | exceeds 2 or after Depth iterations, whichever is less.  The Color Map lets you assign a color for each point according to the number of iterations before the algorithm terminated. \
  92. The Color Map is implemented as a sum of Cosines, one for each of Red, Green, and Blue.  For each color component, you have the following controls:\
  93. \b Frequency
  94. \b0 : This controls the number of cycles for that color between 0 and Depth.  A frequency of 1.0 will complete one full light-dark-light cycle between 0 and Depth.\
  95. \b Phase
  96. \b0 : This controls the initial phase of the cosine for that color.  A phase of 0.0 means that color will start out fully on (this is a cosine).  A phase of 0.5 means the color will start out fully off (as in a sine wave).\
  97. \b Contrast
  98. \b0 : At a value of .5, the color will alternate evenly between light and dark.  As you increase the contrast, the color will tends towards darkness with sharp bands of light.  At a contrast of 1.0, the sharp bands of light will become infinitely narrow, and the entire color will be dark.  The situation is reversed as you decrease the contrast below .5: the color will tend towards lightness with sharp bands of darkness.\
  99. \b Colors
  100. \b0  menu item defines some colors for you.  But don't be fooled 
  101.  the visual effect of any given color map depends highly on what part of the Mandelbrot set you are visiting and the setting of the Depth parameter.  For example, try the 
  102. \b Storms 
  103. \b0 color map while visiting 
  104. \b Home
  105. \b0  and 
  106. \b Black Hole
  107. \b0 .\
  108. \b HINTS ON USING THE COLOR MAP:
  109. \b0 \
  110. A color with an integer frequency and a phase of .5 will always start and end in darkness (corresponding to iterations ranging from 0 to Depth).  This te@    
  111. to look good, especially if all three colors start and end in darkness.\
  112. A color with a frequency of N+.5 (for integer N) and a phase of 0.0 will start in lightness and end in darkness.  This is another good starting point.\
  113. You may wish to turn off two of the colors while you play with a third.  To turn off  a color, you can set its Frequency to 0.0 and phase to 0.5.  A simpler (though less intuitive) approach is to set its Contrast to 1.0.\
  114. If all three color components are identical, you will get gray scales.  This may be especially useful if you are working on a monochrome display.  See the predefined 
  115. Zebra
  116.  color map for an example of this.\
  117. Scroller
  118. Control
  119. _doScroller:
  120. @@@ffs
  121. ScrollingText
  122. {i*@@@}
  123. [1{i*@@@}]
  124.     helpPanel
  125.