This is a simple implementation of the chaos game written in C++.
Chagapy uses the third party library CLI11 for processing of command line arguments. You can add the library automatically using
git submodule init
git submodule update
This should clone the necessary file into the project.
To compile and run the code, you need CMake installed on your system. Now you have to create a build directory using
mkdir build && cd build
. From here, you execute CMake by calling
cmake <path-to-source-code>
where <path-to-source-code>
must be set to the root of the projects directory.
Once CMake has generated the appropriate build files for your system, just run
make release
to compile the program into a binary. If you want to build the executable in debug mode, please use make debug
instead.
To install Chagapy, you only need to call sudo make install
.
Examples can be run and visualized using the main.py script. Before executing the script, first install the python dependencies listed in the requirements.txt file.
This project is licensed under the MIT license - see the LICENSE.md file for further details.