home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / GRAPHICS / RADII.ZIP / RADII.DOC next >
Text File  |  1993-12-31  |  3KB  |  75 lines

  1.  
  2. Radii takes the simple formula for a circle: Z^2 = X^2 + Y^2, using Z to
  3. make concentric circles of different colors.
  4.  
  5. Here is a quick walk through: (print this document and follow along)
  6.  
  7. Start the program RADII.EXE
  8.  
  9. Note the ZOOM=4. Zoom determines how many circles are shown in the
  10. window. The number of circes plotted increases with the SQUARE of ZOOM.
  11.  
  12. The program starts in MCGA mode.
  13.  
  14. Press "s" until the step size is 50%. This determines how much the ZOOM factor 
  15. increases with each step when you... 
  16.  
  17. Go into the AUTO mode by pressing "a". The screen redraws and the ZOOM
  18. factor increases with each step. Notice how the circles are closer at
  19. the edges of the window. This is because the color is determined by Z^2
  20. (Z squared). Press a again and ZOOM steps up.
  21.  
  22. Press the SPACE BAR to exit AUTO mode.
  23.  
  24. Press the UP or DOWN arrow keys to single step ZOOM.
  25.  
  26. As the ZOOM goes up the circles get smaller than the pixel resolution
  27. (200 X 200 in MCGA) and interference patterns develop and eventually
  28. dominate the window. If the screen had infinite resolution these
  29. interference patterns wouldn't appear. There would be just smaller and
  30. smaller concentric circles.
  31.  
  32. Press <ENTER> to enter a ZOOM number. Enter a small number, such as 10.
  33.  
  34. Press "-" to see what the formula Z^2 = X^2 - Y^2 looks like. Neat, huh?
  35. "+" or "=" and "-" can switch between these two formulas anytime.
  36.  
  37. Press "s" to set the step size to 1. Press "e" and enter a large number
  38. for ZOOM, such as 9500. Press "a" for AUTO. Note that when ZOOM is large
  39. a change of only one can make a big difference.
  40.  
  41. Press "h" for Z^3 = X^3 (+/-) y^3 {high order} these work with a smaller
  42. range of ZOOM. Press "l" to return to the square formulas.
  43.  
  44. Unless you are one of those unfortunate souls with a PS/2 model 25 you
  45. can press "v" for VGA mode. High resolution and 16 colors.
  46.  
  47. Press "p" to select a new set of random colors.
  48.  
  49. Press "P" to return to the default palette.
  50.  
  51. When ZOOM is larger than about 65000 with the sum formula and 92000 with
  52. the difference formula the entire window cannot be drawn. This can get
  53. confusing.  Press "r" to clear the screen of "dead" patterns.
  54.  
  55. There are special numbers that give simple, compelling patterns. I call
  56. these "resonances". In both VGA and MCGA modes the even thousands: 6000,
  57. 8000, 10000 etc. are special. Some other numbers unique to each mode are
  58. also special.  Happy hunting.  "q" quits the program.
  59.  
  60. RADSAV is suitable as a screen saver. It draws the whole screen and is
  61. always in AUTO mode. The "m", "v", "-", "+", "l","h" and "p" commands
  62. are the same. Entering a digit from 0 to 9 jumps to a low to high ZOOM
  63. number.  ZOOM numbers are displayed briefly on the laft side of the
  64. screen.  "q" or <ESC> quits the program.
  65.  
  66. This program was written with Quick Basic. I would appreciate any
  67. feedback.
  68.  
  69. This is free to the public.
  70.  
  71.                                                 Tim Brown
  72.                                                 TBROWN14 on Genie
  73.                                                 12-31-93
  74. 
  75.