Print und Leerzeile
This commit is contained in:
@@ -8,8 +8,9 @@ def mandelbrot (c, max_iter):
|
|||||||
z = z*z + c
|
z = z*z + c
|
||||||
return max_iter
|
return max_iter
|
||||||
|
|
||||||
width = 800
|
width = 600
|
||||||
height = 600
|
height = 800
|
||||||
|
|
||||||
img = Image.new('RGB', (width, height))
|
img = Image.new('RGB', (width, height))
|
||||||
|
|
||||||
# die komplexe Ebene definieren
|
# die komplexe Ebene definieren
|
||||||
@@ -23,3 +24,4 @@ for x in range(width):
|
|||||||
c = complex(real, imag)
|
c = complex(real, imag)
|
||||||
print ("x-> ", x, " y-> ", y, " -> ",c)
|
print ("x-> ", x, " y-> ", y, " -> ",c)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user