title: Python - Method to convert random points to line?
body: <p>When I have some points its position is random as drawn below. 
  <img src="https://i.stack.imgur.com/FcBtX.png"/></p>
  
  <p>I want to dynamically draw lines with some restrictions.</p>
  
  <p>1) No points in selected region.<br>
  2) The triangles are at acute angle.<br>
  3) Points are in X/Y (2D) plane.</p>
  
  <p>So points are processed &amp; divided therefore...</p>
  
  <p><img src="https://i.stack.imgur.com/TteeC.png"/></p>
  
  <p>Can I find advice about any appropriate math solutions or even libraries?</p>