MandelBrot Multi-Threaded Fractal

A few of intro and then the main program..... 


Mandelbrot Fractal at the elephant region. 
The above image was produced by the code below.

Fractal: 
"Almost everyone has admired some pictures of fractals are placed in thousands of journals, magazines, psychedelic drawings, etc. Their use has been extended once went for over twenty years, since computers are complex designs that are created using complex calculations But while the images are complex, a program (software) is required because the design of images based on a repeating pattern designed with the help of a function. Many people see them without knowing how these fantastic color images are created.Some have heard that there is some link with certain natural objects, without quite understand what linking means."








Most of us when they hear plans or schemes have in mind a Euclidean geometry. But fractals are different from two factors: 
1. These images are similar to evaton. So if we look at a small fraction of a fractal we see that is similar to a larger segment. If you enlarge the small, we see that it contains equal parts again so 2. The fractal images are independent of scale. Unlike Euclidean shapes have a feature size measurement. 


The Fractal is a class of complex geometric forms echountin aftoomoiotitas status. The Fractal vary from simple shapes of Euclidean geometry or classical - square, circle, sphere, etc. Fractals can describe many objects with irregular shape or spatial anomoiomoia phenomena in nature, which can not be described by Euclidean geometry. The term fractal was "invented" by Polish mathematician Benoit home B. Mandelbrot from the Latin word fractus (crushed or broken) to express the idea of a shape whose dimensions are not given in whole numbers. In Greek attributed the term Morfoklasmatiki curve by the lost Professor Στ.Πνευματικό and Professor Ι.Νίκολη.



"The resemblance to itself" and "low information" are two basic characteristics of fractals.



Although all Fractals  do not have the property of self-resemblance, they  demonstrate a part of it. Self-resemble is an object which the parties making up the whole look. This repetition of details or irregular clusters is progressively smaller scales and, in the case of purely abstract entities, can continue so indefinitely,so that each section of a department, when magnified, looks like basically the whole object. 


Essentially an object remains unchanged in changes of scale, ie a symmetry of scale. This phenomenon can be easily observed on flakes of snow or the bark of trees.


OK done with the theory now lets go to the code. Please keep in mind that this multi-threaded implementation was made utilizing the POSIX threads, in order to be portable. For OPENMPI or other implementations please contact me. 
-Three simple steps to get it running!!!
1. Save the code below as mandelbrot.c


2.And this is the header file. Save it as pthread_mandelbrot.h in the same direcory


3. Now what you need to do is to compile them. This is easy:
#gcc mandel.c -o mandelbrot -lpthread


4. Now Run it by issuing the following command:
./mandelbrot



That's it. ... Enjoy..... And let your mind drift away by theese spectacular sapes.....