fractal tree
✓ Published1🌍 Public
An interactive fractal tree responds to mouse movement, with branching angle and length ratio changing based on cursor position. The visualization renders a recursive binary tree structure using the Canvas 2D API, drawing line segments for 13 levels of branching. It accommodates high pixel density displays by scaling the canvas using the device pixel ratio. Mouse events trigger redraws that update branch thickness and divergence angles, creating a dynamic, explorable organic form without any external data source.
AI-generated descriptionInteractive tree fractal with Canvas.
Move the mouse to change the branching!
Draws from HTML5 Examples.
Extended to use high resolution Canvas for high pixel density displays.
MIT Licensed