This application generates a Buddhabrot fractal image in a PPM (Portable Pixel Map) file. The application provides several options to customize the fractal such as iterations for each colour channel, the number of samples to collect and the dimensions of the image. The generated PPM file can be viewed and edited using popular image editing software such as GIMP and Photoshop.
Click here for more information about the Buddhabrot rendering technique.
Software | Version |
---|---|
G++ or Microsoft Visual Studio | 2015+ |
The following renderings are scaled down and enhanced with Photoshop.
The first image was originally 1000 x 1000 pixels generated using 20 iterations per colour channel at 50 samples per channel.
The second image was originally 8000 x 8000 pixels generated using 4000 iterations per colour channel at 500 samples per channel.
You will need to setup Microsoft Visual Studio for Windoes or G++ for Linx or Mac.
-
Open
Buddhabrot.sln
in Microsoft Visual Studio 2015. -
Change
Solutions Configurations
to Release. -
Change the
Solution Platform
tox64
. -
Right click
Buddhabrot
in the Solution Explorer and selectBuild
to buildBuddhabrot.exe
.
- Navigate to the Buddhabrot source code using the following command:
cd Buddhabrot
- Compile Buddhabrot using the following command:
make
Double click Buddhabrot.exe
in the x64\Release
folder.
Run Buddhabrot using the following command:
./Buddhabrot
For specific options and additional information, you can run the following command:
./Buddhabrot.exe -help
Please see our Contributing Guide for more info.