Complete Technical Guide to Generate Pythagoras Tree Fractal
Invented by Dutch teacher Albert E. Bosman in 1942, the Pythagoras Tree crowns every square with a right triangle and two smaller squares obeying the Pythagorean theorem.
Adjust recursion order, geometry parameters, and color palettes live on a High-DPI HTML5 Canvas, with instant PNG and vector SVG export.
Pythagorean Area Conservation
Left square side = c·cos(α), Right square side = c·sin(α) Total area at EVERY level k = c²(cos²α + sin²α) = c² (exact constant!)
At α = 45° the tree is perfectly symmetric; tilting α to 30° or 60° creates a wind-swept spiral canopy!
How to Use Generate Pythagoras Tree Fractal
- 1Slide the recursion depth and adjust fractal parameters live.
- 2Select Rainbow, Plasma, Emerald, or Cyan color themes.
- 3Export crisp PNG images or scalable SVG vector artwork with one click.
Reference Examples & Worked Benchmarks
| Property | Value / Formula | Significance |
|---|---|---|
| Symmetric | α = 45° | Scales by 1/√2 ≈ 0.707 |
| Wind-Swept | α = 30° or 60° | Asymmetric spiral canopy |
| Level Area | Always = 1·S₀ | By cos²α + sin²α = 1 |
Practical Applications & Engineering Workflows
Fractal Geometry & Self-Similarity
Explore exact Hausdorff scaling and recursive construction of Pythagoras Tree Fractal.
Generative Math Art
Download high-contrast SVG/PNG fractals for publications, posters, and laser cutters.
Accuracy, Edge Cases & Best Practices
- Computed 100% locally in your browser with automatic bounding-box centering.
All calculations execute locally inside your browser using JavaScript with zero server round-trips, guaranteeing instant responsiveness and complete data privacy.