/MandelBulb

Numeric MandelBulb Creation and Plotation!

Primary LanguageC++

MandelBulb

Numeric Calculation of the Mandelbulb. For more info click here: Mandelbulb

Time complexity of the existing Code is O(n^3)... So, to enhance the speed, the code was reimplemented in C++.

Code for the Data-Generation contains of:

  1. CPP
  2. MATLAB

In all the codes, DIM variable indicates the resolution of the data.

Running the MATLAB code is simple but the CPP code is a bit tricky.

Compile the CPP code using the following command:

    $ g++ -std=c++11 -o MandelOut Mandel.cpp -lm

To run the code there are 2 available Flags

-n: power for the Z in the main equation. -d: the same DIM which is the resolution of the data.

Example:

    $ ./MandelOut -n 8 -d 128

Note: There is also a simpler implementation of the Mandelbulb in the cpp folder. Just set the vars and run the code. :)