home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.tar / ftp.whtech.com / club100 / cat / sam1.exe / lha / POOL.DOC < prev    next >
Text File  |  1991-12-31  |  2KB  |  27 lines

  1. Documentation for POOL.BA
  2.  
  3. by Tim Peters
  4.  
  5. POOL is a machine-language pixel graphics demo based on an idea by Ken Marks (see "Designer Screens" in the June 84 issue of 80 Micro).  You watch the path of a perfectly elastic pool ball as it bounces around a rectangular table, two gimmicks give the resulting graphics surprising complexity:
  6.  
  7. 1) While the ball moves in the upper left quadrant, mirror images of it also move simultaneously in the other three quadrants.  When the quadrants overlap the resulting interference patterns can be astonishing, you choose the size.
  8.  
  9. 2) The balls flip the pixels in their paths, that is they turn "ON" pixels off and vice versa.
  10.  
  11. CAUTION: POOL is written for the M100 / DO NOT attempt to use it on the M200!
  12.  
  13. POOL is a Basic program, just run it and respond to the prompts.  It creates a machine-language subroutine below HIMEM so it should not interfere with other machine-language programs.  The following keys are active:
  14.  
  15. "ESC" to return to the Basic.
  16.  
  17. "S" (lowercase) to freeze the display, the display will remain frozen until you hit "s" again or "ESC" to Basic.
  18.  
  19. "1-9" to change speeds while the balls are in motion.  Speed 1 is the slowest and is just a CRAWL, speed 9 is really too fast to follow.  The speed roughly doubles from one number to the next, the program begins at speed 6.
  20.  
  21. Hint: Choose the table dimensions so that the quadrants overlap, it helps to make the horizontal dimension almost one multiple of the vertical dimension.
  22.  
  23. Some of my favorite patterns:
  24.  
  25. 150-63-39-13 152-63-13-39 155-63-39-13 and especially 131-43-anything-anything.
  26. Also 212-55-0-5 237-59-0-0 238-60-0-0.
  27.