
-----------------------------------
kshorting
Wed Apr 25, 2007 10:12 pm

The Mandelbrot set
-----------------------------------
I have been searching through the web trying to find explanations of how Fractals are generated.  All of the explanations seemed to leave something out and the sample programs also seemed lacking something.  Finally, I found a Basic program for the Mandelbrot set on the web site http://library.thinkquest.org/.  

I am much obliged to the people responsible for that site. 

The program contained a logical error, but it was not the hard to fix once I played around with it after rewriting the program using Turing.

The program is attached.  The code is amazingly simple considering the beautiful image it creates.  I fail to see how the program code reflects the concepts of fractals, but that's just me. :)

Have fun.

-----------------------------------
ericfourfour
Thu Apr 26, 2007 2:37 pm

Re: The Mandelbrot set
-----------------------------------
[url=http://www.compsci.ca/v3/viewtopic.php?t=14339]I did this too (get the program from the second post).

I got my algorithm from Wikipedia.

-----------------------------------
PaulButler
Thu Apr 26, 2007 5:58 pm

RE:The Mandelbrot set
-----------------------------------
I did a mandelbrot program as well. If you like fractals, check out this method of smoothly shading them: http://linas.org/art-gallery/escape/smooth.html

Even though the theory of it is kinda complicated, it is easy to apply to your program. The best part is that it doesn't require much to be rewritten, you only have to change a couple lines. If you prefer integral fractals, I have another algorithm that can speed things up if you are interested.

Fractals rule :)

-----------------------------------
kshorting
Fri Apr 27, 2007 10:43 pm

Re: The Mandelbrot set
-----------------------------------
Thanks.  I took a quick look at the link. I'll take another look later on when I am up to taking it all in.

What is an integral fractal?

-----------------------------------
PaulButler
Sat Apr 28, 2007 9:46 am

RE:The Mandelbrot set
-----------------------------------
Oops, I meant to say integer, but I am still not sure if that is the best word for it. I mean fractals where each different color represents a different whole number between 1 and your cutoff, rather than a smooth gradual decimal number. Most fractal generators, including yours, do it the first way, but if you want to take it further you could try a smoothing method.

-----------------------------------
kshorting
Sun Aug 19, 2007 8:40 pm

Re: The Mandelbrot set
-----------------------------------
Paul,

I just looked at the site you referred to now.  I guess I got busy  :) You posted your reply 4 months ago!

I hope to implement this technique in my programs after I understand how the algorithm works. :shock: 

KS
