Skip to content
Snippets Groups Projects
Commit cbb1848a authored by Holger Rapp's avatar Holger Rapp
Browse files

Changed maxiter to a smaller value, it gives nicer results

parent 4e356f11
No related branches found
No related tags found
No related merge requests found
...@@ -122,7 +122,7 @@ if __name__ == '__main__': ...@@ -122,7 +122,7 @@ if __name__ == '__main__':
self.root.mainloop() self.root.mainloop()
def draw(self, x1, x2, y1, y2, maxiter=300): def draw(self, x1, x2, y1, y2, maxiter=30):
# draw the Mandelbrot set, from numpy example # draw the Mandelbrot set, from numpy example
xx = np.arange(x1, x2, (x2-x1)/w) xx = np.arange(x1, x2, (x2-x1)/w)
yy = np.arange(y2, y1, (y1-y2)/h) * 1j yy = np.arange(y2, y1, (y1-y2)/h) * 1j
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment