Fractal fundamentals

1.7k Views Asked by At

I am a programmer by trade, and am very interested in fractals.

To be very basic about the concept, one might say a 'circle of circles' is a fractal. Where each circle is made up of circles, and those circles are made of smaller circles and so on.

This idea is similar to a Sierpinski triangle, which I interpret basically a triangle of triangles.

To test my understanding, I decided to draw out this notion of a 'circle of circles'. Realize, I did this by hand with MS paint, copy and paste. I really should have just written out a simple program using some derivative of pi to get a perfect, mathematical display.

In any case, this image is just to illustrate the concept.

enter image description here

It's obviously not perfect, my question is: Is the notion of a 'circle of circles', 'triangle of triangles', or 'function of functions' truly the definition of a fractal? And, consequently, is the application of this notion, in this image, a fractal? (I realize it isn't because the alignment is incorrect.)

Note: The coloring was just so I could see the pattern easier, lets assume there is no color. Though if the color had been also repeating, would this still prove true?

I included another, expanding on the use of color:

enter image description here

1

There are 1 best solutions below

11
On BEST ANSWER

A fractal is just a simple rule that you repeat over and over again. You'd be right to say that it is recursive sometimes, but it isn't always generated recursively, indeed many fractals would be impossible to generate with a recursive "seed" so to speak.

Mandelbrot Set

For example, here is the mandelbrot set:

Mandelbrot Set

You can generate this picture by making a grid on your computer to represent the complex plane, and assigning a single complex number to each grid cell (for example, the origin would be 0+0i and the right-most point would be 1+0i).

After this, you can just run this simple mathematical function say, 50 times (arbitrary choice):

$$z_{n+1} = z_n^2 + c $$

Where c is a constant of your choosing. If after these 50 iterations, the number you've generated is greater than 2; you've "diverged", so you color that pixel white. Else, you've converged, and you color that pixel white. *you'd want $|c| < 1$ for that reason.

You can generated a colored mandelbrot set by coloring the pixel based on the magnitude after 50 iterations.

Your Fractal

Your fractal is certainly a fractal if you continue to iterate it. In fact, to make this fractal, you'd just have a function that you will repeat over and over again, however; the manner in which you generate the fractal may be different. I'd therefore say that a good definition for a fractal is just an object that displays self similarity at different scales, or an object that is produced by repeated applications of a simple rule (which is exactly what you've done).

This extends fractals from the realm of graphics and the physical world into other areas where they may someday find an application :)

Hope that helps.