Lab / Tessellations
The Law of Cosines
Move through the moduli space of triangle shapes, then translate a square grid across the two-colour tessellation.
- Technology
- React · TypeScript · SVG
- Maturity
- Beta
- Last tested
- 2026-07-29
Objective Explore a tessellation proof of the law of cosines for acute, right and obtuse triangles.
Shape space
78.8°Triangles up to similarity
Representative
acuteThe triangle and its squares
Tessellation of the plane
Two square families, one moving grid
a² squaresb² squaresoverlap
The softly shaded parallelograms are overlaps: the two square families cover the same area twice.
GeometryTessellationsModuli spaces
Read the related article