--- fract/mandelzoom.cgi 2001/02/26 03:13:13 1.6 +++ fract/mandelzoom.cgi 2001/02/26 11:26:15 1.8 @@ -74,10 +74,10 @@ iy= atof(form['image.y'].value) owidth= atof(form['owidth'].value) oheight= atof(form['oheight'].value) - diagp= math.sqrt(width**2 + height**2) + diagp= math.sqrt(owidth**2 + oheight**2) scale= diagp/diag - cx= (ix/scale) + (cx - (width / (scale*2))) - cy= ((height-iy)/scale) + (cy - (height / (scale*2))) + cx= (ix/scale) + (cx - (owidth / (scale*2))) + cy= ((oheight-iy)/scale) + (cy - (oheight / (scale*2))) if form.has_key('zoom'): zoom=atof(form['zoom'].value) diag=diag/zoom @@ -117,7 +117,9 @@ print '' % var print '' - print """ + print """

+After changing any settings, don't forget to change the "Zoom" setting +to "Pan" if you don't want to zoom when applying them. """ sys.exit(0)