title: What would be the best choice of smooth coloring algorithm for Mandelbrot
body: <p>I am rendering a mandelbrot set and have already achieved somewhat smooth coloring, but when looking closer the picture becomes very noisy. I am wondering, what would be the best way to improve my coloring to achieve better aesthetics. Would using histogram coloring help remove the rough pixelated areas?
  <a href="http://i.stack.imgur.com/PVisR.jpg" rel="nofollow">Here is a render of the fractal using 10 000 iterations.</a></p>
  
  <p>This is the way I'm generating and assigning colors right now:</p>
  
  <pre><code>            BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
              int black = 0;
              int[] colors = new int[max]; //max is the maximum number of iterations
              for (int i = 0; i&lt;max; i++) {
                  colors[i] = Color.HSBtoRGB(i/256f, 1, i/(i+8f));
              }
              for(int i = 0; i &lt; colors.length / 2; i++)
              {
                  int temp = colors[i];
                  colors[i] = colors[colors.length - i - 1];
                  colors[colors.length - i - 1] = temp;
              }
  
             ...
             ...
             ...
  
                      if (iterations &lt; max) image.setRGB(col, row, colors[iterations]);
                      else image.setRGB(col, row, black);
                  }
              }
  
              //ImageIO.write(image, "png", new File("mandelbrot_seeria90"+Integer.toString(i)+".png"));
              ImageIO.write(image, "png", new File("resotest.png"));
  </code></pre>