Line2D Intersection

w/ Processing.js

your browser doesnt support canvas

In this example we calculate the intersection point of two lines, one of which can be moved by user interactively.