Mandelbrot and Julia set implementation using OpenGL shader.
We use vcpkg to manage dependencies
This project depends on:
- cxxopts: Command line argument parsing
- fmt: A modern formatting library
- spdlog: Very fast, header-only/compiled, C++ logging library
- glfw: GLFW is an Open Source, multi-platform library for OpenGL, OpenGL ES and Vulkan development on the desktop.
- glad: Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
- stb: stb single-file public domain libraries for C/C++
./vcpkg install spdlog cxxopts fmt stb glfw glad
The recommended way to obtain the source code is to clone the entire repository from GitHub:
git clone git@github.com:edmBernard/bg-generation-mandelbrot
Building the main executable is done by the following command :
mkdir build
cd build
# configure cmake with vcpkg toolchain
cmake .. -DCMAKE_TOOLCHAIN_FILE=${VCPKG_DIR}/scripts/buildsystems/vcpkg.cmake
# on Windows : cmake .. -DCMAKE_TOOLCHAIN_FILE=${env:VCPKG_DIR}/scripts/buildsystems/vcpkg.cmake
cmake --build . --config Release
The executable is named bg-generation-mandelbrot
It's a toy project. So if you spot error, improvement comments are welcome.