Skip to content

An Image generator that uses a fractal rendering technique related to the Mandelbrot set.

License

Notifications You must be signed in to change notification settings

salindersidhu/Buddhabrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buddhabrot Fractal Generator

Contributors Visitors Software License

Overview

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.

Prerequisite Software

Software Version
G++ or Microsoft Visual Studio 2015+

Features

The following renderings are scaled down and enhanced with Photoshop.

Rendering A Rendering B

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.

Getting Started

You will need to setup Microsoft Visual Studio for Windoes or G++ for Linx or Mac.

Windows

  1. Open Buddhabrot.sln in Microsoft Visual Studio 2015.

  2. Change Solutions Configurations to Release.

  3. Change the Solution Platform to x64.

  4. Right click Buddhabrot in the Solution Explorer and select Build to build Buddhabrot.exe.

Mac or Linux

  1. Navigate to the Buddhabrot source code using the following command:
cd Buddhabrot
  1. Compile Buddhabrot using the following command:
make

Running

Windows

Double click Buddhabrot.exe in the x64\Release folder.

Mac or Linux

Run Buddhabrot using the following command:

./Buddhabrot

For specific options and additional information, you can run the following command:

./Buddhabrot.exe -help

Contributing

Please see our Contributing Guide for more info.

About

An Image generator that uses a fractal rendering technique related to the Mandelbrot set.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published