fractal
This interactive SVG visualization generates a branching tree fractal composed of circles. Mouse position controls the number of recursive iterations (left-right) and the branch angle (up-down). The code builds a fractal structure recursively, then renders it by updating SVG `<circle>` elements using D3 v4’s selectors and data-merging API. A text element displays the live count of circle elements, illustrating how animation lag increases with element count. The example highlights the performance limits of SVG rendering at scale.
AI-generated descriptionA tree fractal using SVG circles. The mouse position determines the number of iterations (left-right) and the branch angle (up-down). The number of SVG elements is shown on the bottom. Using this, you can get a feel for how much animation lag is introduced when the number of SVG elements gets high. You can feel the performance limits of SVG.
<a href="http://fineartamerica.com/products/tree-fractal-with-circles-curran-kelleher-canvas-print.html"> <img src="/curran/raw/36163af1a01d41d0cd18bf6397bae774/print.png"></a> You can <strong><a href="http://fineartamerica.com/products/tree-fractal-with-circles-curran-kelleher-canvas-print.html">buy prints of this graphic</a></strong> (with 786,411 circles!).
<a href="http://bl.ocks.org/curran/306a51423662f3a787dd99b4bbc62723"><img width="200" src="/curran/raw/36163af1a01d41d0cd18bf6397bae774/broken.jpg"></a> See also the <a href="http://bl.ocks.org/curran/306a51423662f3a787dd99b4bbc62723">broken version</a>.
Built with blockbuilder.org
Forked from a previous version that uses Canvas - Tree Fractal with Circles.
<!-- Start of SimpleHitCounter Code --> <div align="center"><img src="http://simplehitcounter.com/hit.php?uid=2167731&f=16777215&b=0" border="0" height="18" width="83"></div> <!-- End of SimpleHitCounter Code -->