in reply to Re: Tk Zooming Fractal Problems
in thread Tk Zooming Fractal Problems
Hmm, unless I've misunderstood something, I'm not sure I agree - my main cpu worry is the amount of lines I'm throwing at the canvas. As far as the main computing goes, since I don't increase (yet:) the number of iterations at different scales, the number of calculations is fixed.
Also, my code worked fine when I didn't try to center the fractal on the location clicked on - i.e. it just zoomed in.
In theory, all I've got to do is adjust the start points for the calculation to see a different area, and it *almost* works with the current code, but something's going screwy. I think what I need to do is to remove the mandlebrot from the equation (sic), and just get some debugging output... sigh...
Tom Melly, pm@tomandlu.co.ukmap{$a=1-$_/10;map{$d=$a;$e=$b=$_/20-2;map{($d,$e)=(2*$d*$e+$a,$e**2 -$d**2+$b);$c=$d**2+$e**2>4?$d=8:_}1..50;print$c}0..59;print$/}0..20
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Tk Zooming Fractal Problems
by zentara (Cardinal) on Dec 06, 2006 at 21:34 UTC |