I did this more than 7 years ago. I'm not sure I have access to the code anymore, sorry. I believe tho Wikipedia has decent pseudocode for how to generate the Mandelbrot fractal. You essentially treat the pixels on the screen as points on the complex plane and run the Mandelbrot function on each point for a certain number of iterations to determine if the function on that point is bounded or not. The more iterations you run, the more accurate your Mandelbrot fractal becomes, and you can color the points different shades for the iteration on which they break the bound.
how did you color the mandelbrot fractal. would it be possible to share the code ?
I did this more than 7 years ago. I'm not sure I have access to the code anymore, sorry. I believe tho Wikipedia has decent pseudocode for how to generate the Mandelbrot fractal. You essentially treat the pixels on the screen as points on the complex plane and run the Mandelbrot function on each point for a certain number of iterations to determine if the function on that point is bounded or not. The more iterations you run, the more accurate your Mandelbrot fractal becomes, and you can color the points different shades for the iteration on which they break the bound.