/vk_mandelbrot

A mandelbrot set viewer made in Vulkan and C++20

Primary LanguageC++MIT LicenseMIT

vk_mandelbrot

screenshot

vk_mandelbrot computes images of the mandelbrot set.
Made with Vulkan, C++20, Glfw and Imgui.

Features

Mandelbrot set images generated by vk_mandelbrot can be saved to file in the current folder.
Render can be downscaled or upscaled from x0.25 to x4 based on the window size.
You may zoom and change the number of iterations.

Compiling

Make sure to get submodules by running git submodule update --init --recursive.
You also need cmake, Vulkan drivers and headers and glslc installed.
You may compile vk_mandelbrot binary by running mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release && make -j8.

Usage

Run ./mandelbrot.
There is no CLI options.
Press F1 to display controls.

Known issue

vk_mandelbrot may exit when GPU takes too long to compute a frame.