Advertisement
bolo17

Untitled

Sep 11th, 2023
758
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | Science | 0 0
  1. Recursive triangle subdivision
  2.  import matplotlib.pyplot as plt
  3.     import numpy as np
  4.     from itertools import combinations
  5.    
  6.     def center(points):
  7.         return sum(points)/len(points)
  8.    
  9.     def draw_triangle(points):
  10.         for ps in combinations(points, 2):
  11. for more:https://bestcash2020.com/joe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement