Recent

Author Topic: IFS Fractals: Just ... Cough ... 61 Curve Types !  (Read 1873 times)

Boleeman

  • Hero Member
  • *****
  • Posts: 764
IFS Fractals: Just ... Cough ... 61 Curve Types !
« on: December 06, 2024, 03:44:11 pm »
Make some Fractals by using IFS (Iterating)

I especially like the Dark Twiggy Tree (as shown in the screenshot)

Enjoy.
« Last Edit: December 21, 2024, 01:23:46 am by Boleeman »

Boleeman

  • Hero Member
  • *****
  • Posts: 764
Re: IFS Fractals: Iterating to get that Fractal Curve
« Reply #1 on: December 07, 2024, 12:05:47 am »
I added a few more IFS Fractal Curves

Finally got the Sand Dollar Snowflake and the Curly Tree Curves working.
To increase the darkness of the rendering increase the number of iterations.

(Now about 20 IFS curves to pick from)

Also found some interesting reading from Yale University on how to go from the curve and code the IFS parameters.
« Last Edit: December 07, 2024, 12:10:54 am by Boleeman »

Dzandaa

  • Sr. Member
  • ****
  • Posts: 404
  • From C# to Lazarus
Re: IFS Fractals: Iterating to get that Fractal Curve
« Reply #2 on: December 07, 2024, 03:41:38 pm »
Hi

@Boleeman:

Nice fractal :)

As you like fractal, there is on I created today using "Chaos Game" Algorithm.

B->
Regards,
Dzandaa

Boleeman

  • Hero Member
  • *****
  • Posts: 764
Re: IFS Fractals: Iterating to get that Fractal Curve
« Reply #3 on: December 08, 2024, 08:22:50 am »
Dzandaa, As Always ...

Nicely done and much appreciated.

The rendering has an Impressionistic type style to it.

Noticed that there are 1 or 2 points that are in the middle of the triangles (marked in yellow in attached png).
Might be some type of initialization bug, as they tend to occur at the start of the renderings.

Thank you Dzandaa for the nice/interesting fractal program.

With my IFS program I found a few more curves as shown in the attached png (not sure if anyone is interested in them ?)
I also noticed the some curves are specified with only 6 parameters instead of 7 on some websites.
I thought of making different selected colours instead of only green and loading and saving the 7 curve parameter values in a different way.
« Last Edit: December 08, 2024, 08:40:40 am by Boleeman »

Dzandaa

  • Sr. Member
  • ****
  • Posts: 404
  • From C# to Lazarus
Re: IFS Fractals: Iterating to get that Fractal Curve
« Reply #4 on: December 08, 2024, 11:51:08 am »
Hi,

@Boleeman:

I also noticed the Lost points,  I have not yet found the cause.

Here is a minor correction that allows to select draw steps.

B->
« Last Edit: December 08, 2024, 12:42:47 pm by Dzandaa »
Regards,
Dzandaa

Boleeman

  • Hero Member
  • *****
  • Posts: 764
Re: IFS Fractals: Iterating to get that Fractal Curve
« Reply #5 on: December 14, 2024, 09:20:12 am »
Thanks Dzandaa for that update.
I tried using Pointf floating point array in an overlapping Snowflake program but was not successful ( PointF(X1, Y2), PointF(X2, Y1), PointF(X3, Y2), etc was not recognized) but I saw how you did a floating point array so I will perhaps try the way you did to use floating point array in your Chaos Game program.

Yes Dzandaa.

I did forget:

    type PointF = Packed record
     x: Float;
     y: Float;
    end;


Meanwhile here are some new IFS Fractal curves I found (been playing around with colouring):
« Last Edit: December 14, 2024, 11:27:26 pm by Boleeman »

Boleeman

  • Hero Member
  • *****
  • Posts: 764
Re: IFS Fractals: Iterating to get that Fractal Curve
« Reply #6 on: December 14, 2024, 09:31:05 am »
and a few more.

Dzandaa

  • Sr. Member
  • ****
  • Posts: 404
  • From C# to Lazarus
Re: IFS Fractals: Iterating to get that Fractal Curve
« Reply #7 on: December 14, 2024, 11:24:17 am »
Hi,
@Boleeman:

I think you forgot:
Code: Pascal  [Select][+][-]
  1. type PointF = Packed record
  2.  x: Float;
  3.  y: Float;
  4. end;  
  5.  

At the beginning.

B->
Regards,
Dzandaa

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1271
Re: IFS Fractals: Iterating to get that Fractal Curve
« Reply #8 on: December 14, 2024, 11:41:26 am »
Wow those are some nice fractals . Thanks for the code too  :)
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

Boleeman

  • Hero Member
  • *****
  • Posts: 764
Re: IFS Fractals: Just ... Cough ... 61 Curve Types !
« Reply #9 on: December 21, 2024, 01:27:01 am »
Latest version with 61 Curve Types (Filled Dragon Curve is not working)

With this version you can set the curve colour.

The veined png looks a bit BLOODY. Ouch !
« Last Edit: December 21, 2024, 01:31:14 am by Boleeman »

 

TinyPortal © 2005-2018