This project demonstrates the visualization of an Iterated Function System (IFS) using Pygame. IFS is a mathematical system that produces fractal patterns through the repeated application of a set of affine transformations.
- Python 3.x
- Pygame library
- Numpy library
-
Clone the repository to your local machine:
git clone git@github.com:K-Grachev-2106756/fractal_geometry.git
-
Navigate to the project directory:
cd fractal_geometry
-
Install the required dependencies using pip:
pip install -r requirements.txt
To run the program, execute the following command:
python run.py
You can adjust the number of iterations and the coefficients of the affine transformations in the main.py file. Additionally, you can modify the initial parameters of the Pygame window, such as its size and position.
To visualize your own, change "coefficients" list: