Skip to main content
100%

fractal

✓ Published0🌍 Public
CCurran Kelleher
Last edited Oct 9, 2016
Created on Sep 17, 2016

A procedural tree fractal animates in real time as the mouse position dictates both branch angle and recursion depth. The visualization displays up to thousands of overlapping, randomly colored circles, with an on-screen counter revealing the exact number of SVG elements being rendered. Built with D3 v4, the `fractal()` function recursively computes circle positions while the `mousemove` event triggers a full redraw. This interactive example visually demonstrates how SVG rendering performance degrades as element counts increase, making the lag tangible to the user.

AI-generated description

A tree fractal using SVG circles. The mouse position determines the branch angle and number of iterations. 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.

Built with blockbuilder.org

Forked from a previous version that uses Canvas - Tree Fractal with Circles.

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/0c8f9b30b7109dd577c6c4bd01f86979'>Tree Fractal with SVG</a>

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/36163af1a01d41d0cd18bf6397bae774'>Tree Fractal with SVG</a>

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/15fae5b64ea058fdbb8da3e481495eb4'>Tree Fractal with COLORS!</a>

mit Licensed

Similar vizzes