home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 233
/
233.d81
/
t.3n1
< prev
next >
Wrap
Text File
|
2022-08-26
|
3KB
|
98 lines
u
3 I N 1 N E X U S
Text and PRG by
Brian Crosthwaite
[DAVE'S FORWARD]: Brian has opened a
new area of art for me. His Nexus
plots do strange and wonderful things.
I particularly like the first one
presented here. It is very much a
prairie plot. That's all I dare say.
You will have to watch it evolve on
your own screen.
Well, an obvious place to go next
with this Nexus madness is a
combination of the snailSkin, the
sinMore, and Moriphic. These three
plots are related in that the first
one is, well, the first. The second is
an inside-out version of the first,
and the last is an extension of the
invortex, which is a combination of
the first two.
But why three versions?
Well, I wrote this on the Kyocera,
as I usually do. I was really pleased
with the results. And while there was
a fair amount of tweaking to get what
I wanted, when it was all done, I felt
I had a winner.
Enter the 64 code.
I entered the code into the C64
environment via VICE. Then I ran the
code.
Hmm, it looked different!
My first thought was I'd entered
somthing wrong. The only difference I
could see was the use of 75 rather
than YC for the outside loop. Changing
that did nothing, as I suspected.
It had to be one of those little,
elusive things, that creeps past you
when you code, that you simply miss.
Something hidden, and yet a no brainer
at the same time. That's when it hit
me. Rather than using 3.14 as I did on
the Kyocera, I used PI. I use 3.14 on
lots of computers that don't have PI
in ROM. I have never had any
differences in the images I've plotted
on different machines.
When you print PI from Commodore
BASIC, it prints 3.141569. So I tried
that on the Kyocera. Sure enough, the
plot looked different. I was getting a
lotus Flower Thing going, and while it
looked nice, it wasn't the plot I
worked so hard to get. Now I had a
dilemma. The plot on the Kyocera was
the one I wanted, but it was
mathematically incorrect or flawed.
Wait a minute! I have three areas in
my skeleton. I could write this new
rule and have both!
While I was at it I decided to try
3 as well.
As a result, I now have three
different plots. 3 in 1! Well, ok. I
now have a new branch in the world of
nexus Math.
To see the code, list lines
1000-1999, 2000-2999, and 3000-3999. I
got lazy and rather than simply set a
variable with PI and the two pseudo
PIs, I just copied the routines and
changed the PI values.
As always, happy hacking!
noesis0
BC