, , , coords =:
coords = (uleft[0] + (x/size[0]) * (xwidth),uleft[1] - (y/size[1]) * (ywidth))
x y, , , . , (0,0) , (-2,1.25), (1,0) , 1/500 ( 500 ) -2 0.5 x-.
, - X- , :
mandel_x = mandel_start_x + (screen_x / screen_width) * mandel_width
( mandel_ , screen_ .)
, , : , , uleft lright. .. , (x1, y1).. (x2, y2), :
new_uleft = (uleft[0] + (x1/size[0]) * (xwidth), uleft[1] - (y1/size[1]) * (ywidth))
new_lright = (uleft[0] + (x2/size[0]) * (xwidth), uleft[1] - (y2/size[1]) * (ywidth))
(, , xwidth, ywidth )
, , , mandelbrot, ( ).
, , , , .
, , , . (, (0.0, 0.0) . ( ) - , . 5, - 2.0 sqrt(5) (~ 2.236), .
, , , ( trials ), .