C++ to generate wonderful Mandelbrot Set Images!!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes
.gitignore
README.md
inp.txt
mandel.cpp
mandel.exe
sample1.bmp
sample2.bmp
sample3.bmp
sample4.bmp
sample5.bmp
sample6.bmp
sample7.bmp
zoom_creator.cpp
zoom_creator.exe

README.md

You can use this tool to generate frames of a zoom sequence of the mandelbrot set, or individual images.

For creating a zoom sequence, execute "zoom_sequence.exe". It asks for the required information, and produces a file, which must be renamed to "inp.txt". Then, execute "mandel.exe". The output will be several bmp files, named in order. You can then use something such as FFmpeg to compile it to a video.

To generate individual images of a specified region of the mandelbrot set: The folder of the executable "mandel.exe" should contain an input file named "inp.txt". Each line of the input file should conatain one command in the following format: <output filename> <image width> <image height> <real axis min> <real axis max> <imag. axis min> <imag. axis max> <iterations> <red> <blue> <green>

Due to a quartic polynomial shading method, currently the images tend to have a purple-ish shade. I'm working on that as of now. Feel free to suggest any other methods for shading. Email me at info@keshlabs.in

I have included a sample "inp.txt" file. It produces 7 sample images.

Hope you like my work :)'