Skip to content

Demo application that uses the Vulkan C++ API to draw a Mandelbrot fractal.

License

Notifications You must be signed in to change notification settings

andrecunha/mandelbrot_vulkan_cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Demo application that uses the Vulkan C++ API to draw a Mandelbrot fractal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published