Fractal Tree Generator

One set of depth,branchAngle,lengthRatio per line (e.g. 5,30,0.7) overrides the panel values; leave empty to use the panel.
Tree type:      
        
Number rule:      Label mode:
  Color mode:   
     
Output Result
Calculation Result Download CSV
No. Node path Depth Node value Parent value Note

Introduction to the tool and how to use it

Online numbered fractal tree generator: canvas draws the fractal tree recursively in real time and labels each node with a number. Enter one group of depth,branchAngle,lengthRatio per line (such as 5,30,0.7) to override the panel values; leave blank to use panel parameters.

Four shapes: binary tree, ternary tree, Pythagoras tree (using squares), and the Sierpinski triangle. Four numbering rules: sequential increment, binary-tree path numbering (left child = parent×2, right child = parent×2+1), Fibonacci along depth, and seeded deterministic random values.

Notes: angle jitter uses a custom PRNG, so rebuilding with the same seed and parameters twice yields an identical node array; a ternary tree at depth 12 approaches 800000 nodes, and the tool truncates to the node cap automatically with a notice.

How to use

  1. Fill the starting parameters as needed and choose the tree type.
  2. Set depth, angle, numbering rule, and other parameters.
  3. Click Run.
  4. Review the drawn fractal tree and node list; copy or export them.

Message board

All messages →
0/200

  • No one has spoken up yet — want to go first?