/fractal-plotting

Plotting famous fractals using SFML

Primary LanguageC++

fractal-plotting

What?

Currently heavily work in progress.

Plot famous fractal patterns from sets like Mandelbrot, Julia, Burning ship.

This is done by converting pixel coordinates into complex numbers on the argand diagram, and estimating which numbers can remain bounded following a certain sequence (which depends on the type of fractal) for infinity, but also color mapping the ones that almost get there because it looks pretty.

How?

Currently tested on MacOS and Windows.

Requirements

  • CMake
  • C++ Compiler

Instructions

  • Create a build directory
  • Enter the directory and run the cmake files generation (cd build && cmake ..).
    • This will also install the SFML library for you.
  • Run the make command to compile everything, and run the fractal binary file.

Next up

  • Improve coloring method / pallete (currently need to adjust for max_iterations)
  • Improve rendering (multithreading, parallel rendering, ...)
  • Fix zooming / panning controls