home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / GRAPHICS / IFSPE.ZIP / IFSPAINT.TXT < prev    next >
Text File  |  1994-01-29  |  5KB  |  68 lines

  1. ********************************************************************
  2.  
  3. IFS Paint 1.1 - Fractal Editor for Iterated Function Schemes
  4. (C) 1993,1994 by Morad Khosrow Shahi
  5.  
  6. ********************************************************************
  7.  
  8.  
  9. What are Iterated Function Schemes?
  10.  
  11. A mapping S is called "contraction" if there is a number c with 0 < c < 1 and |S(x) - S(y)| < c.|x - y|. Now suppose S1,...,Sn are contractions, then we call a set F "invariant" if equality holds for
  12.     F = S1(F) U S2(F) U ... U Sn(F)         (U = Union).
  13.  
  14. The following statements can be proved:
  15. - For a finite number of contractions S1,...,Sn there always exists an invariant set F, which is not empty (and compact).
  16. - F ist often what we call "fractal", i.e. it has very complex structure, it is "self-similar", it has a rather simple definition and can be generated by iteration etc.
  17. - A pre-fractal of F (a visual approximation of F, because most of the time you can't display exactly F) can be generated using the following iteration algorithm:
  18.     1. Pick at random a starting point (Xn,Yn)
  19.     2. In each iteration, pick at random one of the contractions;
  20.        Replace the iteration-point, i.e. (Xn,Yn) = S(Xn,Yn);
  21.        Display (Xn,Yn)    (after about 100 iterations);
  22.        If the user didn't abort, go on!
  23.  
  24. The interesting fact about IFS is, you can describe very complex graphics by just a few parameters. It can be shown that every compact set can be approximated by invariant sets of a finite number of contractions. This means you can take pictures and describe them through mathematical formulas, and this takes much less storage-space than conventional graphics-formats.
  25.  
  26.  
  27. The program IFS Paint 1.1
  28.  
  29. There are other programs that can also display or generate IFS fractals (like FractInt & WinFract), but only IFS Paint allows you to paint them graphically, just as if you were working with CorelDraw or something similar. The advantage: you will finally "understand" these pictures everybody generates, but knows nothing about.
  30. IFS Paint is an MDI Windows application with a lot of comfort. There are many program options available, statistics, optimizations etc. And IFS Paint is FREE!!! Yes, it is public domain! Try the program, you'll love it!
  31.  
  32.  
  33. A short description of the functionality:
  34.  
  35. Create, modify & test IFS fractals; save them, also in BMP and/or RLE file format. The program uses a file format that is compatible to FractInt & WinFract (though only one-way: WinFract files allow several entries in one file and comments too, IFS Paint doesn't). Test what happens if probabilities aren't optimized for the generation of the invariant set (amazing effects!!!).
  36.  
  37. Contractions are displayed as rectangles (with an "L" in the upper left corner) that can be translated, rotated, stretched or inverted using the mouse (click on the corners of the wire frames).
  38. Add, delete or copy contractions; load from and save to a file your favorite IFS fractals. Generate the invariant sets (the fractal graphic!) and save it.
  39.  
  40. Look at the comments in the INI file (some options are accessible only there).
  41.  
  42.  
  43.  
  44. If you are curious about IFS, read one ore more of the following books:
  45. M.F.Barnsley, Fractals Everywhere, Academic Press, London 1988
  46. M.F.Barnsley, L.P.Hurd, Fractal Image Compression, AK Peters, Wellesley 1993
  47. K.E.Falconner, Fractal Geometry, J.Wiley & Sons, Chichester 1990
  48.  
  49.  
  50.  
  51. IFS Paint is delivered with the following files:
  52.  
  53. ifspaint.exe        Main file
  54. bwcc.dll        Borland custom controls
  55. ifspaint.ini        INI-File, program works anyway if missing
  56. ifspaint.txt        This file
  57. *.ifs            Sample files
  58.  
  59.  
  60. The author is reachable on CompuServe (100275,3153) and via InterNet (100275.3153@compuserve.com). Please report the errors you find!
  61.  
  62. If you speak german, there is a complete documentation (a WinWord-2 file with more and better explanations) with the german version of IFS Paint in the German Forum of CompuServe (GO GERNET). Source Code available at request.
  63.  
  64. IFS Paint 1.1 (C) 1993,1994 by Morad Khosrow Shahi. The author takes no responsability for the correctness of the results given by the program, nor for the correctness of the information in this file. No changes whatsoever are allowed to the program without written consent of the author. Feel free to copy and distribute the program.
  65.  
  66. BWCC.DLL is a Borland product that may be distributed with executable files created by Borland compilers.
  67. The Graphics algorithms ("Save Bitmap As" in the file menu) are extracted from the program "Bitmaps" by Larry Widing (downloaded from CompuServe). Thank you Larry, that saved me!
  68.