Equation of the line in normal form

We can clearly see a line ‘a’ whose equation is lx + my = n. We also see p which is the length of the perpendicular on the line from the origin and α which is the angle made by this perpendicular with the positive x -axis. As we change the values of α and p using their corresponding slide bars, we can observe how the position of the line changes