Vector equation of a line (2D)

Click and drag the points A and D to define the line. The direction of the line is controlled by the direction vector d (using point D). The line passes through the point A in a direction defined by the vector where is a parameter which can be varied with the slider. The vector equation of the line is a parametric equation of the form .