Skip to main content
Public

Share visualization

Loading preview…

Untitled Visualization

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Viewing a saved revision (read-only)

joviisB4WBnclI3UPlkeD

Untitled Visualization

0 stars0
CCurran Kelleher
Last edited Nov 27, 2026
Created on Nov 27, 2026
View stargazers

Infinite Hexagon Packing

An effectively unbounded procedural hierarchy, rendered with D3 and SVG.

  • Every node generates six, nine, twelve, or fifteen children (three times the original branching factor), with random weights from a deterministic seed.
  • Each parent uses its own normalized D3 circle-pack layout as a conservative placement envelope for regular hexagons. The child layout is scaled by the hexagon apothem ratio to guarantee containment and avoid sibling overlap. Camera rebasing likewise uses the inscribed radius.
  • 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.

On load the camera automatically flies into the largest child at each level, doubling magnification roughly every 1.65 seconds. The first pointer, touch, wheel or keyboard interaction with the SVG stops autopilot for the remainder of the session; reduced-motion preferences disable autopilot at startup. Drag to pan, pinch or scroll to zoom, double-click to zoom in, and click a hexagon to highlight it. Keep zooming into hexagons 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 span the rainbow according to depth and node seed, with an 18-second continuous CSS hue rotation. The animation does not recompute the layout and respects reduced-motion preferences.