Skip to content

Mandelbrot set visualization program implemented in C++ with SFML and GLSL

License

Notifications You must be signed in to change notification settings

maks-kovpak/mandelbrot-set

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mandelbrot Set Visualization

This repository contains a Mandelbrot set visualization program implemented in C++ using Simple and Fast Multimedia Library (SFML) for graphics rendering. Additionally, the visualization benefits from GLSL fragment shaders for efficient computation of the Mandelbrot set.

Features

  • Real-time rendering of the Mandelbrot set with smooth zoom and pan functionalities.
  • Utilizes GLSL fragment shaders for accelerated computation.
  • Interactive user interface for navigation and exploration.
  • Customizable parameters for the Mandelbrot set rendering.

Usage

  • Use arrow keys to pan the view.
  • Scroll up/down to zoom in/out (or use +/- keys).
  • Adjust parameters for different visualizations.
  • Increase/decrease the number of iterations with Right/Left Alt key.
  • To move around the screen more slowly, hold down Shift

Customization

Load different gradient from assets/gradients folder (or add your custom gradient - image with ratio 1024x10).

  • Rainbow: rainbow.png
  • Pastel: pastel.png
  • Green-Red-Blue: green-red-blue.png
  • Blue to yellow: blue-to-yellow.png
  • Aquarelle: aquarelle.png

Also you can customize some parameters:

  • iterations: Maximum iterations for Mandelbrot set computation.
  • zoomFactor: Zoom sensitivity.
  • velocity: The velocity at which you move around the screen

Examples

image1.png

image2.png

image3.png

image4.png

image5.png

image6.png

License

This Mandelbrot set visualization program is open-source and available under the MIT License. Feel free to use, modify, and distribute it.

Acknowledgments

Special thanks to the SFML and GLSL communities for providing excellent tools and resources for graphics programming.

Happy fractal exploring! 🌀

About

Mandelbrot set visualization program implemented in C++ with SFML and GLSL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published