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

  1. Midpoint
  2. --------
  3. The midpoint displacement algorithm is one of the simplest used to generate
  4. fractal landscapes. Start with a square and randomly choose the heights of
  5. each corner. Divide this square into smaller ones and set the height of each
  6. unplotted corner to the average height of the surrounding points, +/- a
  7. random displacement. This process is repeated until we reach a unit
  8. square. As we proceed the maximum displacement is reduced proportionately.
  9.  
  10. Starting with just 4 random points produces a smooth rolling landscape. To
  11. get a more varied landscape more of the squares are plotted with random
  12. heights prior to performing the midpoint displacement. For more information
  13. see The Science Of Fractals, especially p96.
  14.  
  15. Menu Options
  16. ------------
  17. Random: when on a different landscape is plotted. Set to off to allow
  18. re-generation of a landscape with changes in the data variables.
  19.  
  20. There are 5 data variables that can be used to control the process.
  21.  
  22. Roughness: Increase to generate more random seed points, giving more hills
  23. and depressions. A value of 0 plots just the initial outer 4 points (1
  24. square), 1 plots 4 squares, 2 plots 16 squares and so on.
  25.  
  26. Height: Specifies the initial maximum displacement as a power of 2. Thus 8
  27. (the default) means 256. Increase this value to give steeper gradients.
  28.  
  29. Seed: The initial random value use to generate the landscape. A new seed is
  30. chosen every time unless Random is set off.
  31.  
  32. Sea Level: An height less than the sea level will be plotted in blue. This
  33. is useful when creating the source images for a Riemann globe.
  34.  
  35. Sea Colour: The physical colour number used for the sea. Blues are 128-131
  36. and 136-139, but any colour may be chosen.
  37.  
  38. Notes On Usage
  39. --------------
  40. This algorithm works best in modes with square pixels, ie. modes 21, 13 etc.
  41. Mode 15 will tend to produce more oblong shapes.
  42.  
  43. Try colour cycling for a psychedelic effect. The landscape palettes give
  44. more realistic results - use Palette shifting to get a sea/land balance.
  45.  
  46. To generate a landscape use one of the 3d viewing functions within !Fractal.
  47. The 3d palette should be set to Linear for the best effects, though
  48. experiment. Try a Riemann sphere for a planet effect - this works best when
  49. the sea level is set above 0 or when using a landscape palette.
  50.  
  51. Midpoint does not multi-task since it is pretty fast.
  52.