Skip to content

K-Grachev-2106756/fractal_geometry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iterated Function System (IFS) with Pygame

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.

Requirements

  • Python 3.x
  • Pygame library
  • Numpy library

Installation

  1. Clone the repository to your local machine:

    git clone git@github.com:K-Grachev-2106756/fractal_geometry.git
  2. Navigate to the project directory:

    cd fractal_geometry
  3. Install the required dependencies using pip:

    pip install -r requirements.txt

Usage

To run the program, execute the following command:

python run.py

Configuration

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:

system_description

Result

result

About

MISIS University | Maths

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages