An interactive fractal renderer, capable of interpolating between different fractals (default: Mandelbrot- and Juliaset).
On Linux gtk3 is needed (secondary dependency for file picking dialog).
See go.mod. The fragment shader uses variable length loops -> OpenGL v3.3 or higher is needed.
To install the needed glfw headers see glfw-compilation.
Check supported OpenGL-version with glxinfo | grep "OpenGL version"
.
Use the command go run .
to compile and execute the program.
There are three control modes zoom
(Key S
), time
(Key T
) and coefficient
(Key C
).
The mode coefficient adds an overlay to set the coefficient c in the fractal.
The global sensitivity/granularity of the scroll-wheel can be set with the number keys 1-9
,
where 1
gives the most and 9
the least fine grained control.
Navigation is done via click-and-drag mechanics.
The program has a screenshot functionality built-in by pressing Ctrl+S
,
which saves a .png
and a .toml
file which holds the fractal data to the saved/
directory.
Saved fractals can be loaded from the corresponding toml
file via a filepicker by pressing Key L
.