Pythagoras Fractal
Generate, interact with, and export the classic Pythagoras tree fractal online. Based on squares and right triangles satisfying the Pythagorean theorem. Customize bend angles, foliage color schemes, and export crisp PNG or vector SVG.
Interactive workspace loading...
How to Use Pythagoras Fractal
Key Features
Common Use Cases
- Geometry education, demonstrating the Pythagorean theorem ($a^2 + b^2 = c^2$) and self-similarity in fractal planes.
- Architectural and graphic patterning, generating organic geometric canopies.
- Procedural art and wallpapers for mathematics enthusiasts.
- Laser cutting, CNC milling, and vector plotter art.
Frequently Asked Questions
A Pythagoras tree is a plane fractal constructed from squares invented by Dutch mathematics teacher Albert E. Bosman in 1942. The three squares touching each junction enclose a right triangle, illustrating the Pythagorean theorem.
At depth $d$, the tree consists of $2^d - 1$ total squares. Depth 1 has 1 square, Depth 6 has 63 squares, and Depth 10 has 1,023 squares.
Because square count doubles with each level ($2^d$), depths above 10 create thousands of overlapping polygons that can impact canvas rendering performance.