/cfractals

Generate a variety of fractal patterns

Primary LanguageCApache License 2.0Apache-2.0

Contributors Forks Stargazers Issues MIT License LinkedIn


cfractals

About The Project

A command line program to generate a variety of high resolution fractal patterns eg. Mandelbrot/Multibrot, Tricorn/Multicorn sets.

(back to top)

Built With

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • gcc/g++
  • Python v3.5+
  • Python Pillow Library
    pip install pillow

Usage

Once you have gcc/g++ and python installed, compile main.c by running the following command in the top directory. Linux:

gcc -w src/main.c -o main -lm -fno-math-errno -ffinite-math-only -fno-signed-zeros -fsingle-precision-constant

Windows:

gcc -w src/main.c -o main.exe -lm -fno-math-errno -ffinite-math-only -fno-signed-zeros -fsingle-precision-constant

This can also be compiled using a g++, by replacing gcc with g++ in the above commands.

Once compilation is complete, run the program from main/main.exe. This generates a text file in ./outputs folder. Run src/gen.py

An example usage script is given in runc.sh

Roadmap

WIP

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the Apache 2.0 License. See LICENSE.txt for more information.

(back to top)

Contact

Archit Jain - Linkedin - archit.jain38@gmail.com

Project Link: https://github.com/j-archit/cfractals

(back to top)