Just a little demo.
This project uses my own point towards block (it does the same thing as the provided one), but it can test from ANY one point to another. This allowed me to make an untangling algorithm. Pretty cool, right? Space or tap to re-tangle. Any number of points bigger than 30, depending on where it untangles, gets pretty big before it can truly untangle. 0 to 3 points as you probably already guessed, are not possible to untangle as they already start that way.