kenpenn
Given two lines, calculate the intersection point, if any
Adapted from How to check if two line segments intersect
Cloned with blockbuilder.org
https://d3js.org/d3.v4.min.js