Small desktop app where you can explore fractals.
The color of each pixel is computed using the corresponding number in the Complex plane and optionally using a seed controlled by the user.
Frames are rendered on the CPU using double presicion floats to allow zooming up to 10-15 orders of magnitude. However, the performance may be lower when using complex fractal rules like the ones based on Newton's method. For fractals based on polynomial recurrence relations (Julia/Mandelbrot), my frame rate was usually above 60.
To speed up rendering, each frame is split into chunks that are processed in parallel (current implementation relies on Rayon's ParallelIterator
). Additionally, complex number operations are vectorized using SIMD.
- W/A/S/D - translate the view window in the Complex plane
- Arrow Keys - translate the seed in the Complex plane
- Q - toggle stat display
- R - reset picture
- Mouse Wheel - zoom