A recursive program that draws a Sierpinski triangle of selected recursion depth and side length. This program relies upon John M. Zelle's graphics.py library library.
Download the program, navigate to the proper directory, run as python3.
##Command Line arguments
'''python3 Sierpinski_triangle_recursion.py [side_length(px) ] [Recursion Depth/levels (n)]'''
Using side length of 300 and depth of 3 is a good first test:
'''python3 Sierpinski_triangle_recursion.py 300 3'''
![alt text](https://github.com/hansonc2/Sierpinski-Triangle-Recursion/Example\ (side length = 300, depth = 3).png)
- Cole Hanson - Initial work - PurpleBooth
This project is licensed under the MIT License - see the LICENSE.md file for details