Farn

The Pythagoras Tree

The Pythagoras tree is a fractal constructed from squares based on the Pythagorean theorem. It starts with the hypotenuse square and two cathetus squares which enclose a right triangle. In the next construction steps every cathetus square is seen as a new hypotenuse square, followed by suitable smaller cathetus squares. So the whole tree is formed.

Thanks

to Eric Rowell for KineticJS. The library was used to create the interactions with the fractal tree.
The source code for the tree is turtle.js, and you'll need the script embedded in the HTML page.

Build your own version of the Pythagoras tree

Use the red, black and blue circle to shape the tree.

Quick-Links

Math & Art Gallery

Ulliversum

© 2021 Ulrich Schwebinghaus