Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gavinlyonsrepo/fractal_creator

Fractal-generating Demo, creates a fractal using Mandelbrot set. Includes magnifications. Written in C++.
https://github.com/gavinlyonsrepo/fractal_creator

bitmap c cpl cplusplus cpp demo demo-application demonstration fractal fractals graphics mandelbrot mandelbrot-fractal mandelbrot-sets maths

Last synced: 1 day ago
JSON representation

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

Awesome Lists containing this project

README

        

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
-----------------------------------------------

```sh
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.

```sh
/tmp/FractalRRRR.BMP
```

![Ss](https://github.com/gavinlyonsrepo/Fractal_creator/blob/master/documentation/screenshots/Fractal_before_zoom.png)