Le 28/09/2019 à 22:30, Bald Eagle a écrit :
> 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
Sorry to disappoint you, but 256f is notation for a literal float for
256. (bad bad Java !)
Due to division rules, it is important that to get a float, at least one
argument of the / is a float (i.e. int/int gives an integer, which is a
bad idea for hue in HSBtoRGB ).
Post a reply to this message