A high-performance GPU-accelerated Newton fractal generator with an interactive PyQt6 interface.
- GPU Acceleration: Uses CuPy for fast computation on NVIDIA GPUs
- Interactive Zooming: Click and drag to zoom into fractal regions
- Custom Functions: Enter any complex function (e.g.,
z**3 - 1,exp(z) - sin(z)) - High Resolution: Adjustable resolution multiplier for detailed renders
- Export: Save fractals as PNG/JPEG images
Real-time fractal computation with progress tracking
| Function | Result |
|---|---|
![]() |
|
![]() |
|
![]() |
|
![]() |
- Python 3.7+
- PyQt6
- CuPy (NVIDIA GPU with CUDA 13.0+ support)
- SymPy
- NumPy
- Hardware: Strong GPU recommended (tested on GeForce RTX 4060)
pip install PyQt6 cupy sympy numpypython main.pyEnter a complex function in the input field and click "Compute" to generate the fractal. Use left-click and drag to zoom into interesting regions.
- Function Input: Enter mathematical expressions using
zas the complex variable - Compute: Generate fractal for the current function
- Resolution Multiplier: Increase for higher quality (slower computation)
- Reset Zoom: Return to full fractal view
- Save Image: Export current fractal as image file
- Exit: Close application


-sin(z)_20250824_133225.png)
+cos(zxx3))+3_20250824_131533.jpg)
+cos(zxx3)+sin(zxx3)_20250824_134225.jpg)