Recent

Author Topic: Julia Set Fractal: Sort of Zoom  (Read 775 times)

Boleeman

  • Hero Member
  • *****
  • Posts: 722
Julia Set Fractal: Sort of Zoom
« on: June 16, 2024, 04:04:29 pm »
Beginnings of the Julia Set Fractal with Zoom.

Zoom by drawing a rectangle with the mouse.


circular

  • Hero Member
  • *****
  • Posts: 4356
    • Personal webpage
Re: Julia Set Fractal: Sort of Zoom
« Reply #1 on: June 16, 2024, 05:18:54 pm »
Nice fractal, I like how it feels like stream of matter between galaxies in the universe, even though it is 2D.
Conscience is the debugger of the mind

Dzandaa

  • Sr. Member
  • ****
  • Posts: 391
  • From C# to Lazarus
Re: Julia Set Fractal: Sort of Zoom
« Reply #2 on: June 16, 2024, 07:26:45 pm »
Hi,

Nice Fractal Boleeman

I just changed this (for all RGB)

Code: Pascal  [Select][+][-]
  1.       R := Round((C + M) * 255) and $ff;
  2.       G := Round((X * C + M) * 255) and $ff;
  3.       B := Round((M) * 255) and $ff;  
  4.  

I had an overflow

And limit the seZoom to 1->100 instead 0->50

B->
Regards,
Dzandaa

Boleeman

  • Hero Member
  • *****
  • Posts: 722
Re: Julia Set Fractal: Sort of Zoom
« Reply #3 on: June 17, 2024, 08:11:27 am »
Thanks DZandaa for the tweaks.

Good to know the "and $ff;" to stop the overflow.

What OS are you using? Linux, Mac ? I was going to do installs of Lazarus on Mac and Linux.
With linux what is the type of Linux I should install that works reliably with Lazarus?

Circular, love this sort of fractal universe zooming.
Want to look at ways to zoom better and try to improve the detail in the graphics.
Anyhow gave it a shot.
« Last Edit: June 17, 2024, 09:32:50 am by Boleeman »

 

TinyPortal © 2005-2018