Mandelbrot Fractal

I've searched Google and looked at many pages, but no one really explains it well. Could someone try to explain to me how the Mandelbrot Set works and how to use the DEM/M method of shading?

Windows 7 32-bit
AMD Athlon II Dual-Core M300 2.00GHz
MS Visual Studio 2010
I'm using C++ with SFML.

-Tresky
The whole point is to skew the sampling to find things that otherwise would be lost.

For example, say you are drawing a mandlebrot to an image with 10 by 10 pixels (very few, obviously). It is quite clear that a lot of the stuff in the mandelbrot would be missing, since a lot of detail would be found between your pixel samples.

The DEM/M method looks around the sample to see if there isn't anything more interesting to draw, which would otherwise be lost (that is, it would not otherwise appear in the final image).

Since this method takes many more samples for each pixel, it is much slower than a pixel-by-pixel sampler.

More information and example code (using Delphi, which you can easily translate to C++) can be found here:
http://fraktal.republika.pl/mset_dem.html

Good luck!
Oh. Okay, so you would just simply calculate calculate how far away any one point is away from the closest point that is in the set? That sounds simple enough.

I have also tried to get the program to allow you to zoom into a specific position of the mandelbrot, but I think I am probably doing something wrong.... It zooms but it doesn't focus on the correct place. This is probably something I will have to work out on my own or take it to the SFML forum, for that is what I'm using.

Thank you for your help. :)
Topic archived. No new replies allowed.