Push two pins into a board, tie a loose loop of string around them, pull it tight with a pencil and go around. The pencil draws an ellipse. Gardeners lay out oval flower beds with two stakes and a rope exactly this way.
The source code is at github.com/KirillOsenkov/LiveGeometry. It is written in .NET and Avalonia.
Also here: Catriona Agg's geometry puzzles and puzzles from Geometry Snacks made interactive; the same gallery in plain JavaScript; and how to embed a live drawing in your own page.