kurtz le pirate <kur### [at] gmailcom> wrote:
> I'm trying to make pictures of the mandelbrot set. I found several
> examples on the web but I have a problem to adapt the sources.
Looks like the numbers in the java are hexadecimal, so 256f = 9583 and 8f is
The color map will go from _0 to 1_, so you'd need i/1000, and since HSL goes
from 0 to 360, i'd have _i_ run from 0 to i*(360/1000)
Not sure why they use i+143 as a divisor, but you can fiddle with that as well.
You'll need to go up to and not including ColorsArray[Max-1], correct?
(I never use #while, so I'm assuming if you get no errors, that i<Max gives you
Maybe check out:
for more inspiration.
Post a reply to this message