EFG2 Fracshow2 to show Fractals converted from Delphi to Lazarus.
Was really interested in Rendering the Julia BioMorph Fractal Curve as discovered by Earl F. Glynn. (a genius)
Earl F. Glynn also created this Fracshow2 program in Delphi. I just converted to Lazarus for forum members.
I did 32 bit and 64 bit compiles, but did not notice much of a speed difference.Would using a TBgrabmp possibly speed it up and provide nicer pictures?How could we speed it up?I did a test render for the smallest size 128 x 96 pixels, but it took quite a while. Maybe it's my slow AMD Dell A9 CPU?
For the 64 bit I used:
uses
LCLIntf, LCLType, LMessages instead of Delphi Windows, Messages , etc.
and
type
PRGBTripleArray =
^TRGBTripleArray; TRGBTripleArray = array[0..4095] of TRGBTriple;
instead of Delphi
pRGBTripleArray(BitmapColor.Scanline[yActual])[xActual]; (as described here in
https://stackoverflow.com/questions/13583451/how-to-use-scanline-property-for-24-bit-bitmaps )
Also added a save picture to PNG option as well.
I think I may have stumbled on Earl F. Glynn's Github page at:
https://github.com/EarlGlynn?tab=repositoriesLooks like he now programs in R and also uses Jupyter Notebook