title: Mandelbrot set reaches to its limit way too soon
body: <p>im calculating mandelbrot set, with the ability of zooming and printing it to the screen using OpenGL.  </p>
  
  <p>as you know mandelbrot set is defined by a rectangle(top right point and bottom left point) and every time i 'zoom in' and 'zoom out' i change the following points by moving the bottom left point to the upper right side and the top right point vice versa.  eventually those 2 points are supposed to meet each other and finish the zooming process.<br>
  according to many YOUTUBE movies i can see clearly that some movies allow you to reach to 1000X zoom. when in my program i can hardly reach to X6. while debugging i can see my 2 points, which define the mandelbrot set reach each other <code>(x1,y1) = (x2,y2)</code>.<br>
  few things :<br>
  <code>(x1,y1) &amp; (x2,y2)</code> are defined as floats. should i use double instead ?
  my mandelbrot is defined by (512X512) points. is that enough? though im not sure it's connected to the problem.  </p>
  
  <p>another problem i;m facing is that - im printing the set as an height map(3D set). when each Y component representes the amount of iterations it took a certain point to reach infinity. however each time i zoom in the entire set goes upper and upper to the my camera's positions and eventually my camera is consumed by the set. is there a way to calculate the difference and move the camera away from the set(from the zooming point accordingly?)  </p>
  
  <p>the code that calcs the set :</p>
  
  <pre><code>double ratiox = instance-&gt;foundPointOnHost.x / ((instance-&gt;constVal[1][0] - instance-&gt;constVal[0][0]));;
              double ratioy = 1-instance-&gt;foundPointOnHost.z / ((instance-&gt;constVal[1][1] - instance-&gt;constVal[0][1]));;
              double xrange = instance-&gt;m_GraphConfig.xru-instance-&gt;m_GraphConfig.xld;
              double yrange = instance-&gt;m_GraphConfig.yru-instance-&gt;m_GraphConfig.yld;
              instance-&gt;m_GraphConfig.xld += 5*direction*0.005*ratiox*xrange;
              instance-&gt;m_GraphConfig.xru -= 5*direction*0.005*(1.-ratiox)*xrange;
              instance-&gt;m_GraphConfig.yld += 5*direction*0.005*(1.-ratioy)*yrange;
              instance-&gt;m_GraphConfig.yru -= 5*direction*0.005*ratioy*yrange;  
  </code></pre>
  
  <p>few things :  </p>
  
  <p>instance->FoundPointOnHost = the point i want to zoom in.<br>
  instance->constVal = contains the original size of the set (in the begining equals to [xru,yru] [xld,yld])<br>
  (xru,yru) = top right points of the set
  (xld,yld) = bottom left points of the set</p>
  
  <p>thanks!</p>