Browse documentation

Animating a geometric proof

Build a Pythagorean-theorem-style proof using shapes, labels, and keyframes.

Try it in editor
Follow the workflow, one action at a time
A Pythagorean proof in the editor: a triangle, two squares and the formula, each with its own step on the timeline.
A Pythagorean proof in the editor: a triangle, two squares and the formula, each with its own step on the timeline.
01
STEP 1 / 7

Overview

Try it in editor

Let's build something with a bit more weight to it: a right triangle that grows into place, followed by its Pythagorean identity appearing underneath — a2+b2=c2a^2 + b^2 = c^2. Along the way you'll meet all three of ManimLabs's ways to change a value over time: record mode, the Animate a value panel in the Animate tab, and pinning a value by hand. By the end you'll know which one to reach for in a given situation.