How far is it from the tent to the cabin, when a lake is in the way and you can't walk straight across?
The source code is at github.com/KirillOsenkov/LiveGeometry. It is written in .NET and Avalonia.