https://medium.com/@monocosmo77/dynamics-of-convex-polygon-theory-part7-machine-learning-2024-e03a461da2aa