Generate julia set with Python
pip install -r requirements.txt
python fractales.py
To add custom c, go to fractales.py
and in complexes
add one
complexes = [
# a + bi
Complex.from_algebra(0.243, 0.545),
### OR
# rho * cos(phi) + rho * sin(phi) * i
Complex.from_trigo(rho, phi)
]
To change final dimension, change dim
in fractales.py
To change save path, change in fractales.py
img.save(f"images/[{c.a}+{c.b}i].{dim}x{dim}.png")