Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Recursive triangle subdivision
- import matplotlib.pyplot as plt
- import numpy as np
- from itertools import combinations
- def center(points):
- return sum(points)/len(points)
- def draw_triangle(points):
- for ps in combinations(points, 2):
- for more:https://bestcash2020.com/joe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement