home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsf / fractulus / !Fractulus / Docs / Guide < prev   
Encoding:
Text File  |  1994-11-08  |  12.0 KB  |  293 lines

  1. Fractulus, ©1994 by Andreas Dehmel
  2.  
  3. Fractulus is rated Freeware: you may copy it freely but not
  4. change any part of it (except for the Core directory).
  5. Fractulus was written for RISC OS 3.
  6.  
  7. Although I have debugged it thoroughly I will not accept any
  8. responsibilities for any damages caused to your computer or
  9. data by using this program.
  10. I would appreciate if you reported any errors you come across
  11. so I can remove them (hopefully).
  12.  
  13.  
  14.  
  15.                         FRACTULUS DOCS
  16.  
  17.                       ------------------
  18.                       
  19.  
  20.  
  21. Fractulus is a multitasking application for computing fractals.
  22. By loading different cores you can compute different types of
  23. fractals (standard Mandelbrot sets, Julia sets...). I should
  24. mention, though, that it uses FPA instructions and will thus be
  25. *very* slow on machines not fitted with an FPA. This however
  26. could be changed if someone wrote a fixed point core (I'd do it
  27. myself but a new term has just started and I'm a little short
  28. on time right now...). People interested in writing their own
  29. cores please check the CORES document.
  30. On an FPA machine, though, it flies...
  31.  
  32.  
  33. How to use:
  34. -----------
  35.  
  36. Start up the program as usual by double clicking its icon in the
  37. filer window. Fractulus will install its icon on the icon bar and
  38. we're ready for action.
  39. Clicking select or adjust on the icon bar icon will open a
  40. Control Panel; you can have 8 of those active simultaneously.
  41. Each Control Panel represents a fractal process - in english:
  42. you can compute up to 8 fractals simultaneously.
  43. Don't let the number of writable fields shock you - most of you
  44. will never have to enter anything more than resolutions and 
  45. Iterations in here. Here's what everything means:
  46.  
  47. Continue, Pause, Abort, Display and Start are obvious.
  48. Ratio: this determines if you want to preserve the ratio or
  49.        allow distorted fractals. When ticked, min(im) is set
  50.        so that (max(re)-min(re))/(max(im)-min(im) = resx/resy.
  51. Resolution X/Y: What resolution the resulting fractal should
  52.        have. These are mode 28 Pixels rather than OS units.
  53. IterMax: Maximum iterations to do before breaking the loop and
  54.        marking the current position convergent (black). High
  55.        Iterations bring out more detail but slow computation
  56.        down. The deeper you get into a fractal set the higher
  57.        you'll have to set IterMax.
  58. IterPoll: Maximum iterations to do before returning control to
  59.        the WIMP (actually no break occurs within the iterations
  60.        loop, so the maximum number of iterations done will be
  61.        between IterPoll and IterPoll + IterMax). The higher this
  62.        number the less responsive the desktop but the faster
  63.        computation. The default value (32768) works fine on an
  64.        A5000 with FPA and the standard mandelbrot core. Users of
  65.        A5000s or RiscPCs without FPAs should set this to no more than
  66.        about 2000 (yes, the FPA speeds up things by a factor of
  67.        30-40!).
  68. Re/Im: The interval to compute. You should write the lower number
  69.        in the left, the higher in the right writable field.
  70.        Fractulus sorts the numbers but for order's sake do it.
  71.        The default numbers entered here will give you a look on
  72.        the standard mandelbrot set (provided the mandelbrot core
  73.        is active).
  74. Current Line: While computation goes on this shows you where
  75.        Fractulus is at the moment.
  76.        
  77. For starters you should just adjust the resolution to your wishes
  78. and start computation by clicking on "start" or pressing return
  79. in the last writable icon. This will produce an asterisk in the
  80. Control Panel's title bar and ungrey the Pause, Abort and Display
  81. icons. Unless there's been any errors, that is. If you entered any
  82. illegal numbers or specified a resolution that demands more memory
  83. than your machine has to offer you'll be told so and should take
  84. action. If all went well all writable icons except for IterPoll
  85. will be greyed out - no more use for them.
  86.  
  87. Clicking on Display will show you the current fractal. You can
  88. leave this window open, it will be updated (see Defaults), but that
  89. will slow down computation a bit (not much!).
  90.  
  91. After computation's finished you can save the fractal. You do this
  92. by pressing Menu over either the corresponding Control Panel or the
  93. Sprite Window. You can also use the keyboard shortcuts to do so,
  94. but these will only work when the Sprite window has the input
  95. focus (click in it to have it gain it). Saving works as usual.
  96. The fractal is saved as a standard mode 28 sprite with important info
  97. (coordinates and the like) stored as extension area. You can
  98. save to the Filer or any other application. Fractulus can also
  99. handle RAM transfers. If you've dragged it to a filer window
  100. the current fractal will be marked as saved (the asterisk will
  101. be removed from Control Panel and Sprite Window) and the Filename
  102. will be shown in the Sprite Window's title bar.
  103. The other items in the sprite menu (except for "to batch") refer
  104. to frames.
  105.  
  106.  
  107. Frames:
  108. -------
  109.  
  110. You can zoom into a fractal by dragging a frame that specifies the
  111. new window's interval. Hold down either Select or Adjust and move
  112. the mouse to draw a frame. If the menu item "New Ratio" is ticked,
  113. the frame will always preserve the ratio specified there, if not
  114. frame shapes will be arbitrary. The ratio entered here will also be
  115. entered as the new Panel's resolution, so you should enter e.g.
  116. 640:480 rather than 4:3. If the pointer leaves the window it will
  117. scroll in the appropriate direction; you don't have to have
  118. everything visible that you want to include in your frame.
  119. After finishing the drag the frame becomes selected: it is crossed
  120. out (unselected frames are just rectangles). You can still manipulate
  121. it, though. You can drag one of its corners to change its size or
  122. you can click inside it to move the whole thing. In case of over-
  123. lapping frames the one with its middle closest to your pointer will
  124. be chosen.
  125. Overlapping frames? Yeah, you can have up to 4 frames in each sprite
  126. window simultaneously. Clicking Select in the sprite window will
  127. deselect all frames (and select the one you've clicked in, if any),
  128. adjust will do nothing (or toggle the frame's state you've clicked
  129. in, if any).
  130. Once you've drawn a frame the Frame menu becomes available. This
  131. consists of the items:
  132.  
  133. Slct All: Select all frames.
  134. Delete:   Delete all selected frames.
  135. To Panel: create (a) new Control Panel(s) with the frame's (the frames')
  136.           coordinates. This will draw the corresponding Control Panel's
  137.           number into each frame (whether you can actually see this depends
  138.           on the current fractal and good luck) and open the Control
  139.           Panel, ready to process the next fractal.
  140. AdjustRatio: This will change the shape of all selected frames to match
  141.           the ratios specified there. Frames created without "New Ratio"
  142.           ticked will now also have ratio on. As above, the minimal
  143.           imaginative value becomes variable.
  144.  
  145. Now you can zoom into fractals, save them and so on. Basically all you're
  146. gonna need for the time being. But there's more.
  147.  
  148.  
  149.  
  150. Icon Bar Options:
  151. -----------------
  152.  
  153. Apart from the usual Info and Quit we have:
  154.  
  155. Defaults:
  156. ---------
  157. Here you can enter the values that should appear in each Control Panel
  158. on opening it. Apart from that you can specify the value "Update", which
  159. means the number of times a running fractal has to return control to the
  160. WIMP before the line number and the sprite window are updated. The smaller
  161. the number, the more accurate the display is at all times but the more the
  162. computer will be slowed down. The current 10 is a good compromise, as far
  163. as I'm concerned.
  164. The Defaults window also shows the currently active Core. You can't
  165. change it here, though.
  166. Clicking on OK means read the values, store them as defaults and close
  167. the window, save does the same + saves the values in Fractulus' main
  168. directory. Closing the window any other way preserves the old values.
  169.  
  170. Choose Core:
  171. ------------
  172. Provided you don't have any Control Panels open you can choose one of
  173. the Cores provided here. On startup Fractulus will scan its Core
  174. directory and offer all of the files resident there in the Core Menu.
  175. Cores are basically different algorithms: mandelbrot, e.g, does the
  176. standard z = z^2 + c iteration.
  177. If you want to write your own core please look up details in the CORES
  178. document.
  179.  
  180. Cores included in this release are:
  181. julia, mandel3, mandel4, mandel5, mandel6, mandelbrot.
  182.  
  183. The mandel<i> cores use the formula z^i + c.
  184.  
  185.  
  186. Batch:
  187. ------
  188. See later.
  189.  
  190.  
  191. Fractals you have created and saved can be reloaded into Fractulus by
  192. dragging them to its icon bar icon. If the sprite was created by
  193. Fractulus (i.e. has a valid extension area), was created with the
  194. same core type as the one currently loaded and fits into memory it
  195. will be loaded, otherwise Fractulus will complain. In case of a
  196. difference in cores Fractulus will try to look up the core used to
  197. compute this Fractal and give you its name. If it can't find it
  198. (i.e. no core matching the ID is included in the Core Menu) it will
  199. quote a "?".
  200.  
  201.  
  202. Batch Files:
  203. ------------
  204.  
  205. Instead of computing fractals interactively you can choose to redirect
  206. all the data of a fractal from a Control Panel to a Batch File. If
  207. you choose the menu item "to batch" in the Sprite Menu you'll get
  208. a save dialogue box just like the one "save" provides. This is because
  209. all data except the name the fractal should be stored with can be
  210. read from the Control Panel. You have to drag it to a Filer window,
  211. all other destination windows will not be accepted (i.e. the save box
  212. won't not closed). All Panels append their batch data to the same file.
  213. Once you've batched at least one panel the "batch" item in the main
  214. menu will be ungreyed. This offers two more options, Save and Clear.
  215. Clear will remove it from memory, Save should be obvious.
  216. The Batch File is a text file and can be edited. You should know what
  217. you're doing, though! The format is:
  218.  
  219. ResX,ResY,IterMax,min(re),max(re),min(im),max(im),ratio(0/1),
  220. corename,filename<lf>
  221.  
  222. It can also contain empty lines (linefeed only) and commentary lines
  223. (which start with a "#"). Check out the demonstration batch file for
  224. clearness. After having defined Pics$Dir (the directory you want to
  225. store the resulting sprites in) you can also start it (by dragging it
  226. to the Fractulus icon bar icon - it shows quite a few nice scenes).
  227.  
  228. Fractulus can't enter batch mode when any Control Panels are open.
  229. This is once more because the batch file can change the currently
  230. active core. After Fractulus has entered Batch Mode, a Batch Panel
  231. is opened. You can still choose "Display" to watch the current
  232. fractal, you can still enter the IterPoll variable, but that's it.
  233. Neither can you open any more Panels.
  234. Fractulus will leave Batch mode
  235.  
  236. a) on completing the Batch File
  237. b) by having the Batch Panel closed via Abort or the close icon.
  238.  
  239. Any errors occurring during processing the Batch File will lead
  240. to this Batch being skipped and the next one started up. This is
  241. because a Batch File is a nice way to keep your computer occupied
  242. while you're busy sleeping - which means you're not available to
  243. answer any dialogue boxes. If you want to know if any errors
  244. occured, simply check which files were saved.
  245.  
  246.  
  247. Warning boxes:
  248.  
  249. Whenever you try to close a panel that's been started up but not
  250. saved yet (i.e. it has an asterisk in its title bar) Fractulus will
  251. open an error dialogue box to inform you of possible data loss.
  252. If you get this warning with nothing but safe panels open, it refers
  253. to an unsafed batch file.
  254.  
  255. Data will only be marked as saved when its destination is a filer
  256. window.
  257.  
  258.  
  259. This concludes this guide to Fractulus. I hope it was helpful.
  260.  
  261.  
  262. If you like this program and feel the moral obligation to send me
  263. large amounts of money here's where to send it to:
  264.  
  265.  
  266. Andreas Dehmel
  267. Am Schorn 18
  268. 82327 Tutzing
  269. Germany
  270.  
  271.  
  272. During University terms (Nov - Feb, Mar - Jul) you can also reach me
  273. via e-mail:
  274.  
  275. dehmel@informatik.tu-muenchen.de
  276.  
  277. Outside of University terms I won't be checking my mailbox too often
  278. (once to twice a month) so you'll have to be patient.
  279.  
  280.  
  281. Now enjoy the program...
  282.  
  283.  
  284.  
  285. "Base not your joy upon the deeds of others, for what is given
  286.  can be taken away. No hope = No fear."
  287.  
  288.                                             Peter Steele
  289.  
  290.  
  291.  
  292. Andreas Dehmel
  293.