Mandelo
Posted: Tue Jun 04, 2024 10:19 am
I'm not quite sure what section this belongs in....'Useless Apps' perhaps,
but that's not a current choice. This is a re-visitation to the Mandelbrot
and Julia Sets, that I have coded previously, but let's face it, 8mhz and
software floating point is just too slow for casual use, even when coded
in assembly.
I got the idea for this from working on several example programs in my
Pascal compiler (Pascal-iSh), which this is not written in, but given that
Pascal-iSh code is somewhat slow to execute, compared to most compiled languages,
the resolution would need to be quite low! One thing led to another, I revisited
SlithyMatt's low res character mode Mandelbrot, which does plot 'reasonably' fast
but is a bit too low res for my taste, plus, while using the alphabetic characters
does have a charm of it's own, it wasn't for me.
In the end, I borrowed code from a demo program in Prog8, which had similarities
to Matt's code, bumped it up to Screen mode 0 (80x60) and added more frills that
I had used in my previous versions, to cook this up.
I think this is the 'sweet spot' for Mandelbrot on the X16! Okay, it's not that
sweet, but unless you go overboard on iterations, most screens plot in under 10
minutes (cough..cough) and for 64 or fewer iterations, typically under 3 minutes, with
the added benefit, that if you are a Light Brite fanatic, as well as a Mandelbrot
fanatic, you can use the output as a template for creating Lite Bright art!
Try It Now!
but that's not a current choice. This is a re-visitation to the Mandelbrot
and Julia Sets, that I have coded previously, but let's face it, 8mhz and
software floating point is just too slow for casual use, even when coded
in assembly.
I got the idea for this from working on several example programs in my
Pascal compiler (Pascal-iSh), which this is not written in, but given that
Pascal-iSh code is somewhat slow to execute, compared to most compiled languages,
the resolution would need to be quite low! One thing led to another, I revisited
SlithyMatt's low res character mode Mandelbrot, which does plot 'reasonably' fast
but is a bit too low res for my taste, plus, while using the alphabetic characters
does have a charm of it's own, it wasn't for me.
In the end, I borrowed code from a demo program in Prog8, which had similarities
to Matt's code, bumped it up to Screen mode 0 (80x60) and added more frills that
I had used in my previous versions, to cook this up.
I think this is the 'sweet spot' for Mandelbrot on the X16! Okay, it's not that
sweet, but unless you go overboard on iterations, most screens plot in under 10
minutes (cough..cough) and for 64 or fewer iterations, typically under 3 minutes, with
the added benefit, that if you are a Light Brite fanatic, as well as a Mandelbrot
fanatic, you can use the output as a template for creating Lite Bright art!
Try It Now!