Conic sections

In this construction one focus and directrix are fixed, and you can vary the eccentricity e of the conic using the slider. You can move the point P on the conic. Look at the relationship between the ratio PS/PM and the eccentricity, and the type of conic you get for different values of e.