This demo displays the line through the points (x0, y0) and (x1, y1).  Change the line by dragging either of the white points in the "Graph: L(x)" window.  The readout of "p" in the control window gives the slope of the line determined by dragging these two white points.