/sierpinski-simulation

Sierpinski fractal drawing simulation

Primary LanguagePython

drawing

Sierpinski fractal drawing simulation

Visualization of the process of drawing of sierpinski triangle

Installing / Getting started

python3 -m pip install -r requirement.txt

The only required package for now is turtle

Run

Run the simulation with the following command

python3 -m runner

Configuration

Below is a list of available options

depth

Type: int
Default: 2

Nesting level

Example:

python3 -m runner --depth=5  # Will draw the triangle with nesting level 5