This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
from scipy.spatial import Delaunay | |
from scipy.spatial import ConvexHull | |
from math import sqrt, ceil | |
""" | |
Generates the Delaunay Triangulation based off of interactive points in matplotlib | |
Points can be added by clicking and points can also be dragged around | |
""" |