Monday, 15 February 2010

c# - Add iterations control to Mandelbrot -



c# - Add iterations control to Mandelbrot -

i have calculated current mandelbrot iterates 208,200 times. if utilize break command iterations outputs kinda printer has ran out of ink half way through, not doing correctly, know how iteration controls should implemented?

int iterations = 0; (x = 0; x < x1; x ++) { (y = 0; y < y1; y++) { // paint controls here if (iterations > 200000) { break; } iterations++; } }

you need alter values of y1 , x1 command "depth" of mandelbrot set.

by breaking @ number of iterations, you've gone "deep" while (because x1 , y1 large) , stop part way through.

c# winforms mandelbrot

No comments:

Post a Comment