Sierpinski Triangle

Take a triangle, connect the midpoints of its sides, and you get four smaller triangles. Leave the middle one empty and repeat with the other three — again and again.

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

Loading Live Geometry…