home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 41 / q41.d81 / t.multiplot < prev    next >
Text File  |  2022-08-28  |  12KB  |  289 lines

  1.  
  2.  
  3.                       M u l t i P l o t   1 2 8   v1.2
  4.  
  5.                    Program and text by Brian Crosthwaite
  6.                               noesis0@rmci.net
  7.  
  8.  
  9.     Back in the early 1980s I was working on a program on an HP-3000
  10. Mainframe when a gentleman asked if I needed any assistance. While there is
  11. a long story that fits in about here, it has been told often and is well
  12. known within the Commodore community. This guy was excited about getting a
  13. computer called the Commodore 64.
  14.  
  15.     A month later I was programming my new C64. I did some of my homework
  16. assignments on it, transcribed the programs from the screen by hand and
  17. typed them in on the HP over at the University.
  18.  
  19.     One of the first things I did was get into graphics. I loved (and still
  20. do) plotting points on a screen. While teachers were saying the most
  21. powerful command on the computer was PRINT, I was using PLOT. Well, okay, I
  22. was calculating and setting a POKE to plot a dot. To me, THAT was the most
  23. powerful command a computer had.
  24.  
  25.     One of the first mathematical pictures I ever concocted was a Nexus
  26. design called SnailSkin. It was so named because it resembled a snail-shell
  27. with a rattlesnake's skin texture.
  28.  
  29.     The Nexus design is a simple one. In this case, it is achieved by an
  30. arch made on the screen with several dots. The arch is repeated with a
  31. greater radius with more dots. It looks like the side would get flat,
  32. eventually, but that would be no flatter than the earth itself is as is a
  33. perfect curve. The perfect curve, however, is not perfect as the pixels on
  34. the 64/128 screen are not square, so I've fudged the curve of the arch to
  35. make it look round -- and it is not the outside roundness but the actual
  36. Nexus curve that I've fudged.
  37.  
  38.     Several years later, a group of many of the graphics modules I had
  39. written were published. I then grouped the MODs into one place, within GEOS
  40. it was called geoGraphs. The next version was the Amiga version called
  41. MultiPlot. This version was unique in that you could suspend any of the
  42. plots and enter a new one, and another one and another one, and so on, plus
  43. it had music (something I had originally planned to add to this version
  44. before my back went south) and I incorporated geoMandelbrot and 3D-Run (an
  45. Atari ST originating Graph) as two of the Graphs. The Cir MOD became
  46. Zebra.
  47.  
  48.     On the Mac, it appeared as MacGraphs. The program was a strange black
  49. and white version with no pulldown menus. It programmed well onto the Atari
  50. ST (no music, although the ST and GEOS versions are the only ones that
  51. print).
  52.  
  53.     It finally landed on the Commodore 128. It does not require anything
  54. other than a stock 128 to run. The menu is on the 80-column screen while
  55. drawing takes place on the 40-column screen. I have two monitors hooked up
  56. to my 128D, a TV can be used for 40 column as well. However, the program
  57. can also be run, switching the monitor mode from the 80-column to 40-column
  58. modes with the video mode switch.
  59.  
  60.     There is a limit (10) as to how many MODs or Plots you can run at the
  61. same time, but once one Plot has finished you can initiate another. Many of
  62. the variables are shared by different Plots, so the results can be...not
  63. quite as expected. If you want to see each plot played out as it was
  64. originally written to be, simply clear the screen and reset the variables
  65. before selecting a Plot.
  66.  
  67.     With this version (v1.2) of MultiPlot comes a new Plot called Invortex.
  68. (As if a vortex isn't weird enough!)
  69.  
  70.     Pictures from Lightning (LOADSTAR 128 #38) can be loaded in for further
  71. processing. This can add some real strange effects to some already weird
  72. pictures.
  73.  
  74.     In this version you can't readily exit any of the plots, except the
  75. Fractal II routine. Because the Fractal II takes a long time to render out,
  76. it can be painful waiting when you have changed your mind.
  77.  
  78.     Aside from the Plots and the Exit Fractal II feature, the remaining
  79. menu items are the same as in Lightning.
  80.  
  81.  
  82. THE MENUS
  83. ---------
  84.  
  85.     Menu items are selected by pressing the highlighted (reverse video)
  86. letter.
  87.  
  88.  PROJECT
  89.  -------
  90.  
  91.   About
  92.   -----
  93.     Pressing <A> will bring up the About Screen. This is the same screen
  94. you see when you first load the program. If you missed it, you didn't miss
  95. much. There are two About Screens: 80- and 40-column. The 40-column one
  96. appears at any time this is selected, the 80-column only appears if no
  97. plots are rendering.
  98.  
  99.   Load
  100.   ----
  101.     Loads the files that make up a picture. A directory will appear on the
  102. right hand side of the 80 column screen (also known as the menu screen).
  103. Files that have .PIC and .COL are the ones you are looking for here. If all
  104. you want is a directory, simply hit <RETURN> without entering anything. To
  105. pause the directory scrolling, press the <NO SCROLL> key at the top center
  106. of your computer.
  107.  
  108.  NOTE: On JiffyDOS CMD equipment only the .PIC files will show up on screen
  109. when the directory is called up.
  110.  
  111.  
  112.   Save
  113.   ----
  114.     Saves the picture as a set of files. A directory will appear on the
  115. right hand side of the menu screen. The .PIC and .COL are added
  116. automatically. If you change your mind and don't want to save, simply press
  117. <RETURN> without entering anything. To pause the directory scrolling, press
  118. the <NO SCROLL> key at the top center of your computer.
  119.  
  120.  
  121.   Logged dr ( / )
  122.   ---------------
  123.     Pressing the slash </> key will change the logged drive. MultiPlot V1.2
  124. supports up to 30 drives.
  125.  
  126.   Send dr cmd ( @ )
  127.   -----------------
  128.     Pressing the AT key (@) will allow you to send drive commands for
  129. navigation on hard drives and RAMLinks and such. To check the drive status,
  130. press RETURN without entering anything.
  131.  
  132.   Quit
  133.   ----
  134.     Zips you out of MultiPlot when you decide you have really had enough.
  135.  
  136.  
  137.  PLOT
  138.  ----
  139.  
  140.   Fractal II F1
  141.   -------------
  142.     This is actually a new version, but since it looks the same as Fractal
  143. II, I didn't change the name. Once again I shrunk the code, but it didn't
  144. speed up much. This was originally uploaded onto QLink (and written) by
  145. Fractalle. I wrote a GEOS version of it with some minor tweaking, it was
  146. tweaked again on the Amiga & ST versions and then a final big tweak here.
  147. This one has the longest rendering time and can be aborted by pressing
  148. <X>.
  149.  
  150.   SnailSkin F2
  151.   ------------
  152.      One of my first, and still my most favorite graphics to date is the
  153. SnailSkin. This is a Nexus formed by a simple perfect arch. It is distorted
  154. here to preserve the pure Nexus shape.
  155.  
  156.  The formula used is a simple circle plot formula:
  157.  
  158.     x=INT(xc+v*xf*SIN(N/(c/2)*PI)
  159.     y=INT(yc-v*yf*COS(N/(c/2)*PI)
  160.  
  161.  where x and y are coordinates (x,y); v and N are loop values (v=1 to
  162. usually the yc and N=degrees 0 to what ever v is at in a given loop); xc
  163. and yc are the center of the screen; the following + or - simply determines
  164. the direction of the circular plot (from a control perspective); xf is
  165. about 1 and yf is 1.3 (included to round out the screen).
  166.  
  167.     Normally, in a standard circle, the rest of the equation would be the
  168. sine of the number that represents degrees and since the computer does RADs
  169. we convert it thus: DEG/180*PI. But here, we are changing the rules a bit.
  170. 180 degrees is half a circle and we want to change the laws of Euclidean
  171. Geometry a tad so we will start off with a different number, .05, and each
  172. time we come by to calculate, it will be incremented by .05.
  173.  
  174.   Sine Morae F3
  175.   -------------
  176.     Pronounced as it is written in the menu, SIN More is the actual
  177. spelling, but it looks like something else. This is also a Nexus but it
  178. folds out from infinity to an origin, while it is a 2-dimensional plot
  179. using only x and y coordinates, it plots a 3-dimensional image (with a
  180. little imagination).
  181.  
  182.     This is an inside out variation on the Snail. In this case we add a
  183. twist to the base circle by dividing the c factor by 4 in x and 5 in y
  184. forcing the plot to apparently leave the 2-dimensional constraints of our
  185. plotting field. The inverse is achieved by counting down from the xc to 0.
  186.  
  187.   Zebra F4
  188.   --------
  189.     This was the Cir MOD of long ago. Zebra has changed slightly from the
  190. last few computer platforms, but the mathematics has remained pretty much
  191. the same. The second longest running Pl