Mathematical Foundations of Binary Fractal Tree
A general Binary Fractal Tree decouples the left and right child contractions (θ_L, r_L) and (θ_R, r_R), allowing both symmetric bifurcating canopies and dramatic self-similar logarithmic spiral trees. Its theoretical similarity dimension is computed in real time by solving the nonlinear Moran equation r_L^D + r_R^D = 1 via Newton-Raphson iteration.
Self-similar fractals exhibit recurring geometric structure across scales, governed by Iterated Function Systems (IFS), Lindenmayer L-System rewriting rules, or recursive spatial subdivisions. Every geometry calculation, 2× HiDPI canvas pass, progressive animation frame, and lossless SVG vector export executes natively inside your browser at 60 FPS with zero server latency.
Exact Newton-Raphson Moran Dimension Solver
For unequal contraction ratios r_L and r_R:
f(D) = r_L^D + r_R^D - 1 = 0
f'(D) = r_L^D · ln(r_L) + r_R^D · ln(r_R)
D_{k+1} = D_k - f(D_k) / f'(D_k)
When r_L = r_R = r, this simplifies to D_H = ln(2) / ln(1/r).
Try the Asymmetric Spiral Willow preset (θ_L = 18°, θ_R = 46°, r_L = 0.76, r_R = 0.64) to see how unequal scale ratios cause the main branch tips to curl into nested golden logarithmic spirals.
Iteration Scaling & Complexity Table
| Iteration / Setting | Elements / Size | Geometric Property |
|---|---|---|
| Depth 6 | 127 branches | Clean 6-level binary hierarchy |
| Depth 8 | 511 branches | Distinct symmetric or spiral crown |
| Depth 10 | 2,047 branches | Lush textbook binary fractal tree |
| Depth 12 | 8,191 branches | High-density leaf-tip attractor |
Applications in Science, Graphics & Engineering
Computer Science Recursion Pedagogy
The visual trace of a Depth-n Binary Fractal Tree mirrors the exact call tree of a recursive binary tree traversal.
Microchip H-Tree Clock Networks
Set θ_L = θ_R = 90° and r_L = r_R = 0.707 to model zero-skew VLSI H-tree clock distribution networks.
River Basin & Horton-Strahler Laws
Hydrologists model asymmetric river tributary networks using unequal binary contraction ratios (r_L ≠ r_R).
Precision Vector Export
Export any symmetric or asymmetric binary tree up to 8,191 segments as a clean vector SVG.
Interactive Controls, Pan/Zoom & Vector Export
Tune all four left/right angle and scale sliders independently while watching the Newton-Raphson Moran Hausdorff dimension update live, then export crisp SVG or PNG.
Export crisp 2× Retina PNG renders for presentations or scalable infinite-resolution SVG files directly into Illustrator, Figma, Inkscape, LaTeX, or laser-cutting workflows.