Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 936 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 936 Bytes

Mandelbrot Fractal in C++ using Vulkan Compute

This is a demo application that uses the Vulkan C++ API to draw a Mandelbrot fractal.

This application is an adaptation of Erkaman/vulkan_minimal_compute to use the Vulkan-Hpp C++ library from Khronos.

Dependencies

You need a C++14 compiler.

All the library dependencies are included.

Building

mkdir build
cd build
cmake ..
make

Execution

From the mandelbrot_vulkan_cpp directory, run:

build/mandelbrot

The application launches a compute shader that renders the Mandelbrot set into a storage buffer on the GPU. The storage buffer is then read and saved as mandelbrot.png.