| Issue 14: | Have max_iterations be injected per-pixel | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Basically, mfunc should not take it as an argument, but the next_pixel callback should return it, for that pixel.
Nov 17, 2011
Project Member
#1
ejrh00@gmail.com
Blocking:
11
Nov 20, 2011
Not as easy as I first thought. This is the approach: Instead of counting up to max_iterations, we have iterations injected by next_pixel, and we count down to zero (or until we're outside the boundary). Then in output_pixel we return that value as remaining. It's up to output_pixel to reconstruct the k value from that. A later change should move that reconstruction out of the various drawing modes (where it's largely copy-and-pasted) and into fractal; what's more, smoothing should be made optional. This requires quite a few changes to the mfuncs and the drawing modes.
Status:
Started
|