Static fractals (YouTube):
Animated fractals (YouTube):
Ray-traced Mandelbox fractal:
W - forward
A - left
S - back
D - right
Space - up
Left CTRL - down
Q - push current speed to stack
E - restore speed from stack
Mouse - look
Mouse wheel up - increase zoom
Mouse wheel down - decrease zoom
Mouse wheel - set zoom to 1.0
left arrow - increase accuracy (lower epsilon, more details)
right arrow - decrease accuracy
up arrow - increase movement speed
down arrow - decrease movement speed
PageUp / PageDown - change fractal
LESS ( < ) / GREATER ( > ) - increase or decrease amplitude
T - enable time dependency (cos(time) * amplitude)
P - take screenshot
= / - to increase / decrease raymarcher iteration limit (regulates quality)
Esc - exit
- Mandelbox
- Mandelbulb
- Sierpinski Triangle
- Menger Sponge
OpenCL must be installed on your machine.
Windows: https://streamhpc.com/blog/2015-03-16/how-to-install-opencl-on-windows/
Linux: https://gist.github.com/Brainiarc7/dc80b023af5b4e0d02b33923de7ba1ed
git clone https://github.com/kraglik/pyfractalexplorer.git
cd pyfractalexplorer
python3 -m venv ./venv
source venv/bin/activate
pip install -r requirements.txt
source venv/bin/activate
python main.py