A pirate's map says: Start at Skull Rock. Walk to the big palm, turn right and walk as far again, and plant a flag. Go back to Skull Rock, walk to the little palm, turn left and walk as far again, and plant a flag. The treasure is halfway between the flags.
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.