Recent

Author Topic: EFG2 Fracshow2: Show Fractals converted to Laz.  (Read 497 times)

Boleeman

  • Hero Member
  • *****
  • Posts: 722
EFG2 Fracshow2: Show Fractals converted to Laz.
« on: June 26, 2024, 12:38:53 pm »
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=repositories


Looks like he now programs in R and also uses Jupyter Notebook

« Last Edit: June 26, 2024, 01:04:36 pm by Boleeman »

Boleeman

  • Hero Member
  • *****
  • Posts: 722
Re: EFG2 Fracshow2: Show Fractals converted to Laz.
« Reply #1 on: June 26, 2024, 02:08:38 pm »
Earl F. Glynn Julia Bio-morph rendered to a higher resolution 480 x 360 but took  .... for EVER.

Especially love the 1st rainbow-ed effect. Groovey.
« Last Edit: June 26, 2024, 02:11:01 pm by Boleeman »

 

TinyPortal © 2005-2018