swoop

Mandel Colour

Apr 4th, 2012
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.21 KB | None | 0 0
  1.     double smoothCol = iter + 1 - Math.log(Math.log(z.modulus()))/Math.log(2);
  2.     smoothCol = smoothCol/maxIter;
  3.     int buffPixel =  Color.HSBtoRGB((float) (0.95f + 10 * smoothCol) ,0.6f,1.0f);
  4.     pixels[pixPoint] = buffPixel;
Advertisement
Add Comment
Please, Sign In to add comment