home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / f / fractal112 / !Fractal / Help / Lorenz < prev    next >
Text File  |  1996-10-09  |  2KB  |  48 lines

  1. Lorenz : The Edward Lorenz Strange Attractor.
  2. ------
  3. This was probably the first fractal to be recognised as such, and started
  4. the ball rolling for chaos investigation. The shape is three dimensional and
  5. you can use !Fractal's rotation and elevation icons to control the view
  6. position. There are three variables which may be set or randomly chosen, and
  7. there are three colour schemes. Refer to Chaos by J.Gleick for a description
  8. of the story behind its discovery. 
  9.  
  10. The plot is infinite. You can control the speed by setting the Step Rate
  11. factor - smaller values will slow the plot so you can trace its shape.
  12. Notice that the plot revolves around one centre and then suddenly jumps
  13. across to the other.  Try altering the default values of a/b/c by small
  14. amounts and see the effect this has on the shape and when the jump occurs.
  15.  
  16. The menu options are:
  17.  
  18. Random a/b/c: Click to set/unset random selection of the variable when a
  19. plot is started. For each variable there is an associated maximum, which can
  20. be changed from the data panel. New variables are not chosen when zooming.
  21. Once you have found an interesting shape, turn off random variables, and use
  22. the 3d options to explore the shape.
  23.  
  24. Random colour: when set a random colour is chosen after every 100 plots.
  25.  
  26. Step Colour: the colour value is increased after every 100 plots.
  27.  
  28. If neither Random or Step colour is set, then the plot is made in white
  29. using exclusive or'ing to trace the current position.
  30.  
  31. You can change the viewpoint whilst plotting by pressing the cursor keys,
  32. and then pressing the space bar to restart. See the 3d section in the
  33. !MainHelp file for more details. Try Step Rate=2.0e-2 for the best use of
  34. this function - note that bigger values destroy the shape.
  35.   
  36. Algorithm
  37. ---------
  38.   x=1; y=1; z=1;
  39.   do forever
  40.      dx=a*(py-px)
  41.      dy=px*(b-pz)-py
  42.      dz=px*py-c*pz
  43.      px+=dx*step_rate
  44.      py+=dy*step_rate
  45.      pz+=dz*step_rate
  46.      draw px,pz           where px/pz are 3d transforms of x/y/z
  47.   enddo
  48.