home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 260.lha / Truchet / truchet.doc < prev    next >
Encoding:
Text File  |  1989-07-07  |  1.1 KB  |  33 lines

  1. Truchet is a program which draws a map of Truchet tiles on a Workbench
  2. window.
  3.  
  4. To use Truchet, just type truchet from cli.  Enter a number between 1 and
  5. 1000.  The map will then generate.  Click on the close box to quit.
  6.  
  7. Truchet was inspired by the Computer Recreations column of the July, 1989
  8. issue of Scientific American. 
  9.  
  10. There are two types of Truchet tiles.  One type has a quarter-circle in 
  11. both the upper left and lower right corners of the tile, the other type has
  12. them in the upper right and lower left corners. 
  13.  
  14. Truchet tiling could be used to determine the degree of randomness in a set
  15. of data.  To test a set of data, tiles are laid down according to the 
  16. binary representation of the numbers.  If the resulting map appears to have
  17. no detectable patterns, the data is random.  If patterns appear, the data
  18. is not random.  This idea is put forth by Clifford A. Pickover of IBM's
  19. Thomas J. Watson Research Center.
  20.  
  21. Read the SA article for a better explanation of this and other curiosities.
  22.  
  23. Truchet was written using Lattice C 5.0 and compiles with the command:
  24.  
  25.     lc -Lm truchet.c
  26.  
  27. Happy Tiling!
  28.  
  29.  
  30. Chris MacDonald
  31. cmacdonald
  32. 6/21/89
  33.