home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2002 April / pcpro0402.iso / essentials / graphics / Gimp / gimp-src-20001226.exe / src / gimp / plug-ins / ifscompose / README.ifscompose < prev   
Encoding:
Text File  |  1998-02-18  |  3.2 KB  |  86 lines

  1. IfsCompose-0.6.1
  2. ----------------
  3.  
  4. IfsCompose is a plug-in for the GIMP that allows
  5. the creation of Iterated Function System fractals by direct
  6. manipulation onscreen of the component transforms.
  7.  
  8. Although v0.6.1 is fairly full featured, it is still lacking some
  9. essentials. Most importantly, it is not yet possible to save fractals
  10. in unrendered form for future modification. The rendering code could
  11. also use some more work.
  12.  
  13. IFS Fractals
  14. ------------
  15.  
  16. You may be familiar with IFS's from the screen
  17. hack 'Flame'. They are also the basis of fractal image compression.
  18.  
  19. For a brief introduction to IFS's see Foley and van Dam, et
  20. al,. _Computer Graphics, Principles and Practice_, 2nd Ed., 
  21. (Addison Wesley, 1990).
  22.  
  23. The standard references in the field are Michael Barnsley's books (though
  24. I haven't looked at them yet):
  25.  
  26. M. Barnsley, _Fractals Everywhere_, Academic Press Inc., 1988.
  27. M. Barnsley and L. Hurd, _Fractal Image Compression_, Jones and
  28. Bartlett.
  29.  
  30. Briefly, you take a point and repeatedly apply one of a set of
  31. transformations to it, choosing randomly between them, and plot the
  32. point at each step. An interesting result (the Collage Theorem) says
  33. that if you can find a set of transformations that break up an image
  34. into smaller copies of itself, then the resulting fractal exactly
  35. reproduces the original image.  For example, here is a classic image
  36. of a leaf and the same image with the four component transforms
  37. colored distinctively.
  38.  
  39. But the best way to appreciate this may to install this program and
  40. try it out. I've extended the basic concept as found in
  41. Foley and van Dam to include transformations in color space as
  42. well as in real space.
  43.  
  44. Installation
  45. ------------
  46. The included Makefile should work with minor modifications on most
  47. systems if you have installed Gimp normally. Put the resulting binary
  48. in ~/.gimp/plug-ins or the system-wide plug-ins directory.
  49.  
  50. The included files gtkaspectframe.c/.h implement a modified frame
  51. widget that guarantees that the aspect ratio of the child widget
  52. remains constant when the parent is resized. It's sort of specialized,
  53. but if you think it would be useful for other purposes, let me know
  54. and I'll lobby for its inclusion in the standard gtk.
  55.  
  56. Use
  57. ---
  58. The interface is somewhat complex and it may take you a little while
  59. to get the hang of it. (There are 19 parameters for each
  60. transformation in your fractal, after all). The best way to learn is
  61. probably to start by making small changes, and seeing what they
  62. do. Click on the transformations (represented by polygons) in the
  63. design window to manipulate them interactively.
  64.  
  65. Button-1: rotate/scale
  66. Button-2: distort
  67. Button-3: move
  68.  
  69. If you hold down shift while clicking, you can select multiple polygons
  70. to apply the transformation to.
  71.  
  72. Try not to click too near the center of a polygon, as this will
  73. amplify your actions.
  74.  
  75. Note that if you render onto an image with an alpha channel, the
  76. background will be transparent (very useful for compositing several
  77. fractals), otherwise the background will be the current background.
  78.  
  79. There is a tutorial and some example images at:
  80.  
  81.    http://www.msc.cornell.edu/~otaylor/plug-ins/ifscompose.html
  82.  
  83. Have fun!
  84.  
  85. Owen Taylor
  86. owt1@cornell.edu