I created an app to do rounded corners between SVG path lines and I'm Looking for an algorithm to calculate the maximum Arc radius between 2 angles as shown below.