/mandelbrot

Interactive visualization of the Mandelbrot set.

Primary LanguageCMIT LicenseMIT

splash

Building

  • Clone GLFW 3.3.2 source code into directory external/glfw-3.3.2.
  • Clone stb into directory external/stb.
  • Clone linmath.h into directory external/linmath.
  • Clone glad v0.1.33 into directory external/glad-0.1.33.
  • Build using CMake.

Features

  • Zoom in to the Mandelbrot fractal.
  • Computations are done in a separate thread to keep the window responsive.

Controls

  • Click and hold with LMB to make a selection.
    • Release LMB to zoom in.
    • Click with RMB to cancel selection.
  • Press backspace to zoom out.
  • Press escape to close the application.
  • Press P to write the current texture to file mandelbrot.png.

Todo optional features

  • Preemption to compute thread in the case of resizing, zooming in/out, closing application.
  • Full screen mode (for saving 1920x1080 textures).
  • Color schemes.