Julia set: Difference between revisions
Content deleted Content added
m →Vectorized: added missing </lang> |
|||
Line 1,456:
Creating Fractal Images. researchgate. net, Feb. 2015.'
"""
from functools import partial
from numbers import Complex
Line 1,466 ⟶ 1,465:
def douady_hubbard_polynomial(z: Complex,
"""
Monic and centered quadratic complex polynomial
Line 1,475 ⟶ 1,473:
def julia_set(
min_coordinate: Complex,
max_coordinate: Complex,
Line 1,502 ⟶ 1,500:
result = np.ones(complex_plane.shape)
for _ in
mask = np.abs(complex_plane) <= threshold
if not mask.any():
Line 1,516 ⟶ 1,514:
c=-0.7 + 0.27015j) # type: Callable[[Complex], Complex]
image = julia_set(
min_coordinate=-1.5 - 1j,
max_coordinate=1.5 + 1j,
|