Skip to content

edmBernard/bg-generation-mandelbrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bg-generation-mandelbrot

Mandelbrot and Julia set implementation using OpenGL shader.

Build and Dependencies

Dependencies

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

Build

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

Disclaimer

It's a toy project. So if you spot error, improvement comments are welcome.

About

Implementation of Mandelbrot and Julia set in OpenGL shaders

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published