Split each angle of a triangle into three equal parts. The trisectors next to each side meet in three points — and those points always form an equilateral triangle, no matter what triangle you start with!
The source code is at github.com/KirillOsenkov/LiveGeometry. It is written in .NET and Avalonia.