Square Between Squares

Take any two squares (pink and green) and connect their matching corners with four gray segments. Pick a point on one segment, and the points the same fraction of the way along the other three. They form another square (yellow)!

The source code is at github.com/KirillOsenkov/LiveGeometry. It is written in .NET and Avalonia.

Loading Live Geometry…