Viewing a saved revision (read-only)
pFy0LUUueu6JEzIFYEBbc
Infinite Circle Packing
An effectively unbounded procedural hierarchy, rendered with D3 and SVG.
- Every node generates two to five children with random weights from a deterministic seed.
- Each parent uses its own normalized D3 pack layout, so deeper generation cannot move existing circles.
- Children fade in based on projected radius. Offscreen and tiny circles are culled; the layout cache and visible SVG node count are bounded.
- The camera rebases into a child when the viewport fits inside it, and returns to its parent when zooming or panning out. This avoids accumulating a huge global scale.
Drag to pan, pinch or scroll to zoom, double-click to zoom in, and click a circle to highlight it. Keep zooming into circles to discover more levels. There is no configured tree depth limit. Zooming into empty space has a numerical guard; a single gesture also has a generous finite scale range that resets at gesture end. Colors cycle through shades of green with depth.