An interactive fractal explorer built with pygame, numpy and numba - utilising cuda processing and customisable color-mapping.
An interactive fractal explorer built with pygame, numpy and numba - utilising cuda processing and customisable color-mapping.
The program can either be run by command-line execution or within an IDE. I recommend using this within an anaconda environment with the cudatoolkit
package (version 10.2.89) installed for the most seamless use.
run py fractal.py
optional arguments:
py fractal.py -c -2.5 1.5 -2.0 2.0
Example:py fractal.py -r 1280 -f burningship -c -1.8 -1.7 -0.01 0.09
run main()
within fractal.py
All parameters are optional. The defaults are:fractal='mandelbrot'
iterations=1500
resolution=1000
coords=(-2.5, 1.5, 2.0, 2.0)
Here is an example of executing with custom parameters:
main(fractal='burningship',
iterations=2500,
resolution=720,
coords=(-1.8, -1.7, -0.01, 0.09))
Python 3.8 or later
For module requirements see requirements.txt
NOTE: Testing has only been with Python 3.8+