home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 233 / 233.d81 / t.3n1 < prev    next >
Text File  |  2022-08-26  |  3KB  |  98 lines

  1. u
  2.          3 I N 1   N E X U S
  3.  
  4.            Text and PRG by
  5.           Brian Crosthwaite
  6.  
  7.  
  8. [DAVE'S FORWARD]: Brian has opened a
  9. new area of art for me. His Nexus
  10. plots do strange and wonderful things.
  11. I particularly like the first one
  12. presented here. It is very much a
  13. prairie plot. That's all I dare say.
  14. You will have to watch it evolve on
  15. your own screen.
  16.  
  17.  
  18.     Well, an obvious place to go next
  19. with this Nexus madness is a
  20. combination of the snailSkin, the
  21. sinMore, and Moriphic. These three
  22. plots are related in that the first
  23. one is, well, the first. The second is
  24. an inside-out version of the first,
  25. and the last is an extension of the
  26. invortex, which is a combination of
  27. the first two.
  28.  
  29.     But why three versions?
  30.  
  31.     Well, I wrote this on the Kyocera,
  32. as I usually do. I was really pleased
  33. with the results. And while there was
  34. a fair amount of tweaking to get what
  35. I wanted, when it was all done, I felt
  36. I had a winner.
  37.  
  38.     Enter the 64 code.
  39.  
  40.     I entered the code into the C64
  41. environment via VICE. Then I ran the
  42. code.
  43.  
  44.     Hmm, it looked different!
  45.  
  46.     My first thought was I'd entered
  47. somthing wrong. The only difference I
  48. could see was the use of 75 rather
  49. than YC for the outside loop. Changing
  50. that did nothing, as I suspected.
  51.  
  52.     It had to be one of those little,
  53. elusive things, that creeps past you
  54. when you code, that you simply miss.
  55. Something hidden, and yet a no brainer
  56. at the same time. That's when it hit
  57. me. Rather than using 3.14 as I did on
  58. the Kyocera, I used PI. I use 3.14 on
  59. lots of computers that don't have PI
  60. in ROM. I have never had any
  61. differences in the images I've plotted
  62. on different machines.
  63.  
  64.     When you print PI from Commodore
  65. BASIC, it prints 3.141569. So I tried
  66. that on the Kyocera. Sure enough, the
  67. plot looked different. I was getting a
  68. lotus Flower Thing going, and while it
  69. looked nice, it wasn't the plot I
  70. worked so hard to get. Now I had a
  71. dilemma. The plot on the Kyocera was
  72. the one I wanted, but it was
  73. mathematically incorrect or flawed.
  74. Wait a minute! I have three areas in
  75. my skeleton. I could write this new
  76. rule and have both!
  77.  
  78.     While I was at it I decided to try
  79. 3 as well.
  80.  
  81.     As a result, I now have three
  82. different plots. 3 in 1! Well, ok. I
  83. now have a new branch in the world of
  84. nexus Math.
  85.  
  86.     To see the code, list lines
  87. 1000-1999, 2000-2999, and 3000-3999. I
  88. got lazy and rather than simply set a
  89. variable with PI and the two pseudo
  90. PIs, I just copied the routines and
  91. changed the PI values.
  92.  
  93.     As always, happy hacking!
  94.  
  95.  noesis0
  96.  BC
  97.  
  98.  
  99.