|
 |
On 28/09/2019 22:30, Bald Eagle wrote:
>
> kurtz le pirate <kur### [at] gmail com> 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
> 143.
> 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.
I'll try it with this... and playing with 0x08 :)
> 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
> that.)
Array and index is not a problem.
> Maybe check out:
> https://www.youtube.com/watch?v=kY7liQVPQSc
> for more inspiration.
Really interesting link.
Thanks
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
|
 |