Conic Sections by Directrix, Focus, and Ratio

Adjust the Ratio slider, the Directrix and the Focus to the desired values. Use slider a to create a locus of points.