Skip to content

Instantly share code, notes, and snippets.

View trinath's full-sized avatar

Trinath Atmakuri trinath

View GitHub Profile
"""
Implement the sierpenskis triangle by using the recuresive algorithm of removing a triangle step by step
"""
import random
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.patches as patches
import math