Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

Sierpinski Triangle

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
This generates Sierpinski triangles of various levels. Fractals.
(draws all the smallest elementary triangles)

change variable named level
(choose levels in range of 1-8, takes a lot more time if greater)

pt1,pt2,pt3 decide the shape of the initial triangle.

To run it: run python striangle.py

Dependencies: python, matplotlib

By: Chaitanya CH

based on: 
conversations with punchagan &
http://www.cs.washington.edu/homes/reges/python/