Skip to main content
100%

Force-Directed Symbols

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Jul 3, 2011

A force-directed layout continuously adds random geometric symbols to an SVG scene. Every second, a new shape—drawn from `d3.svg.symbolTypes`—appears and repels existing nodes, causing them to drift apart. The `d3.layout.force` simulation handles the physics, while each `path` element updates its transform on every tick. Symbols render in steel blue with white strokes and are draggable via `force.drag`.

AI-generated description
gpl-3.0 Licensed

Similar vizzes