A parabola is the set of points that are equally far from a point (the focus F) and a line (the directrix AB).
The source code is at github.com/KirillOsenkov/LiveGeometry. It is written in .NET and Avalonia.