The simplify algorithm (https://github.com/mourner/simplify-js), coded in various languages and frameworks.