How to program a fractal?

后端 未结 14 1004
花落未央
花落未央 2020-12-04 05:34

I do not have any experience with programming fractals. Of course I\'ve seen the famous Mandelbrot images and such.

Can you provide me with simple algorithms for fra

14条回答
  •  被撕碎了的回忆
    2020-12-04 05:42

    I think you might not see fractals as an algorithm or something to program. Fractals is a concept! It is a mathematical concept of detailed pattern repeating itself.

    Therefore you can create a fractal in many ways, using different approaches, as shown in the image below.

    enter image description here

    Choose an approach and then investigate how to implement it. These four examples were implemented using Marvin Framework. The source codes are available here

提交回复
热议问题