Skip to content

C program that draws the mandelbrot set and generates a bmp file. It uses a NASM assembly module for mandelbrot set calculations.

Notifications You must be signed in to change notification settings

kklassa/mandelbrot-set-bmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

mandelbrot-set-bmp

A hybrid C program that generates a bmp image of the mandelbrot set

Compilation

The program is meant for compilation on Linux systems.

To compile follow the steps below:

  • make a new build directory
mkdir build
  • change directories to the newly created build directory
cd build/
  • run cmake
cmake ../src/
make 

To run the program you must specify the width of the outputted image and it's name:

./main 1024 output.bmp

Width is specified in pixels and should be divisible by 4.

Output example

ExampleIgame

About

C program that draws the mandelbrot set and generates a bmp file. It uses a NASM assembly module for mandelbrot set calculations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published