Skip to content

Fractal-generating Demo, creates a fractal using Mandelbrot set. Includes magnifications. Written in C++.

License

Notifications You must be signed in to change notification settings

gavinlyonsrepo/Fractal_creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

  • Name: fractal_creator

  • Description: Fractal Creator. This Demo program is written in C++. This project creates a bitmap file and then applies two magnification functions to a sector of that file. The bitmap is a graphic image. The graphic image is a fractal created by the Mandelbrot Set. A fractal in mathematics is an abstract object used to describe and simulate naturally occurring objects. Fractals can also be nearly the same at different levels. For Linux based OS.

  • Author: Gavin Lyons

  • Credits: Based on code from www.caveofprogramming.com

Download

cd ~/Downloads
curl -L -O https://github.com/gavinlyonsrepo/Fractal_creator/archive/master.zip 
unzip master.zip  
cd Fractal_creator-master

Build

  • run 'make' to build
  • Exe file made at ./Bin/fcsim
  • run 'make help' for all the other options in make file including in install.

Usage

fcsim  [arguments]
fcsim 800 600 0.1 2

Arguments list

Number Name Default value Notes
1 width Resolution 800 width of bmp file
2 height Resolution 600 height of bmp file
3 zoom Scale 0.1 smaller the number higher the zoom
4 number of Zooms 2 0, 1 or 2

Output


Bitmap Output files are outputted to:- where RRRR is random number.

/tmp/FractalRRRR.BMP

Ss