home *** CD-ROM | disk | FTP | other *** search
/ Windows Shareware GOLD / NuclearComputingVol3No1.cdr / _bbs2 / f1196.zip / POOL.DOC < prev    next >
Text File  |  1990-09-08  |  3KB  |  77 lines

  1.                     WINDOWS POOL
  2.  
  3.             Mark Lutton     September 3, 1990
  4.             Compuserve:     73106,1627
  5.             Bix:            MarkLutton
  6.  
  7.         Copyright (c) 1990 Mark Lutton
  8.         All Rights Reserved
  9.  
  10. This is not a game; you just watch it.  It produces
  11. absolutely amazing graphics (if I do say so myself) using
  12. the simplest possible rules.  You'll see Scots plaids,
  13. lace, weaving patterns, flowers, Arabian tiles, Op Art
  14. checkerboards, baroque carvings, and optical illusions.
  15. Patterns constantly change from one to the other.
  16. Wallpaper for your mind; LSD for your computer.
  17.  
  18. WINDOWS POOL is based on a program by Tim Peters for the
  19. Tandy Model 100, which in turn was based on an article by
  20. Ken Marks in the June 1984 issue of 80 Micro magazine.
  21.  
  22. Imagine an idealized pool table of an arbitrary size where the
  23. ball goes on a diagonal path, never slows down and always bounces
  24. off the cushion with no loss of speed.  As the ball goes along
  25. it draws a line -- or to be more precise, it XOR's a line.  Now
  26. reflect that table three times and put the four reflections in
  27. the four corners of the window, possibly overlapping.
  28.  
  29. "Window width" and "Window height" are the dimensions of the
  30. client area of the window.  You can resize the window in the
  31. usual way, or you can set the numbers in the Options box.
  32. If both numbers are even, there will be no black spots in the
  33. pattern; only gray.  The mathematically inclined can figure
  34. out why.
  35.  
  36. "Table Width" and "Table Height" are the dimensions of the
  37. imaginary pool table.  If each dimension is less than half of the
  38. window dimension, the four reflected tables will not overlap.  If
  39. any dimension is greater than the window, only part of the
  40. pattern will be visible.
  41.  
  42. "Start X" and "Start Y" are the starting points of the ball
  43. within the table.
  44.  
  45. Press "Random" to get random table dimensions and starting point.
  46.  
  47. A tiny difference in the parameters can make a huge difference
  48. in the pattern.  If you find a pattern you like, write down the
  49. parameters.  The same parameters will always produce the same
  50. pattern.  This is pure chaos: totally deterministic and completely
  51. unpredictable.
  52.  
  53. Here are some astounding pool patterns:
  54.  
  55.     Window Width    462
  56.     Window Height   299 
  57.     Table Width     337
  58.     Table Height    264
  59.     Start X         60
  60.     Start Y         95
  61.  
  62.  
  63.     Window Width    545
  64.     Window Height   353
  65.     Table Width     526
  66.     Table Height    176
  67.     Start X         136
  68.     Start Y         73
  69.  
  70.  
  71.     Window Width    566
  72.     Window Height   349
  73.     Table Width     491
  74.     Table Height    342
  75.     Start X         12
  76.     Start Y         288
  77.