--- fract/mandelzoom.cgi 2001/02/25 20:10:53 1.3 +++ fract/mandelzoom.cgi 2001/02/25 22:54:25 1.5 @@ -38,14 +38,14 @@ if form.has_key('diag'): diag= atof(form['diag'].value) else: - diag= math.sqrt(8) + diag= math.sqrt(32) # sqrt(4**2 + 4**2) debug= form.has_key('debug') if form.has_key('iter'): maxiter= atoi(form['iter'].value) else: - maxiter= 240 + maxiter= 270 # If type!=image, then output an HTML page, not an image if not (form.has_key('type') and form['type'].value == "image"): @@ -69,7 +69,7 @@ else: ds="" if form.has_key('zoom'): - zoom=atoi(form['zoom'].value) + zoom=atof(form['zoom'].value) diag=diag/zoom else: # If no zoom provided, don't actually zoom @@ -78,9 +78,9 @@ print 'ALIGN=BOTTOM HEIGHT="%s"' % (str(height)), print 'WIDTH="%s">
' % (str(width)) print 'Zoom: