LegalizeAdulthood / iterated-dynamics

Iterated Dynamics is an open source fractal generator with support for many fractal types.
https://legalizeadulthood.github.io/iterated-dynamics/
GNU General Public License v3.0
21 stars 8 forks source link

iterations exceed 255 with palette editor #15

Closed LegalizeAdulthood closed 2 months ago

LegalizeAdulthood commented 9 years ago

legalize[CodePlex]
If you start with the default Mandelbrot with maxit=150, and open the palette editor using 'e', when you scroll around the image with the cursor key you get some palette entries that exceed 255. Theoretically, with maxit=150, you shouldn't see any palette entries that exceed 150.

I know, truecolor doesn't care about palettes, but for some features to work, the simulation of a palette has to be accurate. As an aside, to avoid this problem, Xfractint currently doesn't show the palette editor when you are using a truecolor mode.

If there is a problem with the getcolor() routine returning a value in the appropriate range, this will also confuse boundary tracing.

LegalizeAdulthood commented 9 years ago

Script to reproduce the problem:

DELETE
WAIT  1.0
F6
WAIT  3.0
"e"
WAIT  0.9
ENTER
WAIT  3.6
CTRL_LEFT
CTRL_LEFT
CTRL_LEFT
CTRL_LEFT
CTRL_LEFT
CTRL_LEFT
CTRL_LEFT
CTRL_LEFT
CTRL_LEFT
CTRL_LEFT
CTRL_LEFT
CTRL_LEFT
CTRL_LEFT
WAIT  2.1
CTRL_UP
CTRL_UP
CTRL_UP
CTRL_UP
WAIT  0.9
UP
UP
WAIT  2.0
RIGHT
RIGHT
WAIT  1.7
UP
UP
UP
UP
UP
UP
UP
UP
WAIT  2.4
UP
WAIT  0.7
UP
WAIT  1.0
UP
WAIT  0.6
UP
WAIT  2.4
UP
WAIT  1.0
RIGHT
WAIT  2.0
UP
WAIT  0.9
UP
WAIT  1.0
UP
WAIT  1.7
RIGHT
WAIT  7.7
ESC