can someone give me the algorithm to generate the fern fractal please?
I know how to do the sierpinski triangle, by selecting one of three corners at random and then halving the distance from the previous point, but how is the fern done?
Thanks.
Printable View
can someone give me the algorithm to generate the fern fractal please?
I know how to do the sierpinski triangle, by selecting one of three corners at random and then halving the distance from the previous point, but how is the fern done?
Thanks.
Not sure if this is what you are looking for, but perhaps.
There is a Fractal which starts with an equilateral triangle. Construct an equilateral triangle on the middle of each side. This results in a six-pointed star. Then construct an equilateral triangle on the middle of each side of the star. At each stage, construct an equilateral triangle on each side of the current figure.
I have seen this start with a line 3 units long instead of an equilateral triangle. In this case, construct three equilateral triangles on the line (or one on the middle segment). Then continue like the above, constructing an equilateral triangle on each line segment of the current figure, but do not construct anything below the original line. This construction looks a little bit like 3 ferns without stems. Depending on how you start, there are 3 equal ferns or a middle fern with a smaller one on each side.
Hope this is something you can use.