Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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++.
- Host: GitHub
- URL: https://github.com/gavinlyonsrepo/fractal_creator
- Owner: gavinlyonsrepo
- License: mit
- Created: 2017-12-13T19:25:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-07T20:20:40.000Z (6 days ago)
- Last Synced: 2024-11-07T21:20:48.822Z (6 days ago)
- Topics: bitmap, c, cpl, cplusplus, cpp, demo, demo-application, demonstration, fractal, fractals, graphics, mandelbrot, mandelbrot-fractal, mandelbrot-sets, maths
- Language: C++
- Homepage:
- Size: 1.61 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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.comDownload
-----------------------------------------------```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)