Skip to content
bcsaba90 edited this page Sep 13, 2015 · 3 revisions

Mandelbrot and Julia set rendering program

Just a simple program to render fractals for my desktop background, it uses standard C++ without any library. The sample_render directory contain some of the bmp files generated by the program converted to jpg (for smaller size).

Compile:

There are no project file or makefiles, simply compile all of the files, under Linux this can be done by:
g++ *.cpp

Run:

Just run the generated binary file, under Linux this can be done:
./a.out name_of_file.frak

To-do:

  • Test file parsing fractals, replace old C-style code (atoi, atof, etc.) in the parser to C++ equivalents.
  • Introduce (platform independent) multi-threading to make the program run faster. Probably each thread should render each (t + i*n)-th row, where n is the number of thread t is the index of the thread (indexing goes from 0 to n-1) and i is a loop variable which goes up until height of the image is reached.
  • Find more todos
Clone this wiki locally