Fractal Tree (SVG)
✓ Published1🌍 Public
This visualization shows a fractal tree created through recursive branching, where each branch splits into two smaller branches at a fixed angle. Starting from the bottom center of the canvas, the tree extends upward with each iteration reducing the branch length by a factor of 0.67. The code uses the Svelte framework with SVG rendering, employing D3's `path` API to construct the complete branching structure as a single path element. The recursion continues until branch lengths fall below 2 pixels, resulting in a detailed, self-similar structure displayed with white strokes against a dark background.
AI-generated descriptionMIT Licensed