Tessellations hub

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.

c2=a2+b22abcosCc^2=a^2+b^2-2ab\cos C
Shape space

Triangles up to similarity

78.8°
rightdegenerate limitequilateral
Representative

The triangle and its squares

acute
C
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

Reading preferences

Display settings

Choose a comfortable text size and page theme. Preferences are stored only on this device.

Text size
Theme

Medium text · Light theme

On this device