home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 100.lha / IfsDraw / IFSReadme < prev    next >
Text File  |  1986-11-20  |  2KB  |  42 lines

  1.   IFSDraw draws patterns by the iterated function systems approach
  2. described by  Michael F. Barnsley and Alan D. Sloan in BYTE,
  3. January, 1988, pp 215-223.
  4.  
  5.   IFSDraw is copyrighted by Charles Fritchie, Jr., 1987, 1988.  It
  6. may be used freely for noncommercial or nonprofit purposes provided
  7. the copyright notice is maintained intact.  No part may be used
  8. commercially without explicit written permission of the author. 
  9.  
  10.   It is run from the CLI by the command 'IFSDraw datafile', where
  11. the datafile contains colors desired and the necessary pattern
  12. information.  A sample datafile for the fern leaf shown in the BYTE
  13. article appears below, and four sample datafiles are included in the
  14. .arc file.
  15.  
  16.   The format of the datafile is: 
  17.  
  18.   bkcol,drcol - two rgb color triads in hexadecimal, used for
  19. background and drawing colors.  IFSDraw uses 4 bitplanes, but only
  20. these two colors (0 and 1) are normally used.
  21.   numtran - number of transformations following.  IFSDraw is
  22. dimensioned for up to MAXDIM=9 transformations; MAXDIM should be
  23. changed if more are needed.
  24.   xoff,yoff,xscale,yscale - x and y offsets in pixels, then x and y
  25. scale factors in pixels used in plotting, as described in article. 
  26. These can best be determined by a trial plot.  IFSDraw uses a 640 x
  27. 200 screen.
  28.   ma,mb,mc,md,me,mf,mp (numtran sets).  The 2x2 matrix, translation 
  29. and probability for each transformation, as described in article. 
  30. The sum of all probabilities should be 1.
  31.  
  32.  Sample data set for fern leaf:
  33. 555 3b5
  34. 4
  35. 200 20 20 10
  36. .85 .04 -.04 .85 0 1.6 .85
  37. -.15 .28 .26 .24 0 .44 .07
  38. .20 -.26 .23 .22 0 1.6 .07
  39. 0 0 0 .16 0 0 .01
  40.  
  41.   IFSDraw was compiled with Lattice 3.10.  I have not tried Aztec.
  42.