Parabola is the locus of points equidistant from the focus and the directrix. You can verify this property. You can drag the point P to any place. You can also drag the point S on the parabola. When the focus or the directrix is moved, the equation of the parabola will be updated.