Skip to main content
100%

fractal

✓ Published0🌍 Public
TThanaporn-sk
Last edited Jun 24, 2019
Created on Jun 24, 2019

This visualization renders an interactive tree fractal using nested SVG circles. It shows how mouse position controls branch angle and iteration depth, with the total count of rendered circle elements displayed at the bottom. As the mouse moves, the fractal regenerates in real time, offering a tangible sense of SVG performance limits when element counts grow large. The code uses D3.js v4 with selections and data joins to manage circle updates, while a recursive function calculates each circle’s position and radius.

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>

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

mit Licensed

Similar vizzes