/mandelbrot-renderer-sfml

A Mandelbrot set renderer written using C++ and the SFML library.

Primary LanguageC++MIT LicenseMIT

Mandelbrot Set Renderer

The Mandelbrot Set drawn in a window.
License MIT

Description

This project is a Mandelbrot set rendering program written in C++. The window is created and rendered using the SFML library and GLSL.

Requirements

  • g++ v12.2 or newer
  • CMake v3.25 or newer
  • Make

Building

Build by making a build directory (i.e. build/), run cmake in that directory, and then use make to build the desired target. The compiled program is placed in build/bin/.

Example:

mkdir build
cd build
cmake ..
make main
./bin/main

Execution

Running the program should open a window titled "Mandelbrot Set" which displays the entire Mandelbrot set. Using the up and down arrow keys will zoom in or out towards your mouse cursor.

If your device does not support shaders, it will exit without opening a window.