mirror of
https://github.com/d3/d3.git
synced 2025-12-08 19:46:24 +00:00
* fix link to example * Update docs/d3-force.md --------- Co-authored-by: Mike Bostock <mbostock@gmail.com>
2.1 KiB
2.1 KiB
d3-force
This module implements a velocity Verlet numerical integrator for simulating physical forces on particles. Force simulations can be used to visualize networks and hierarchies, and to resolve collisions as in bubble charts.
To use this module, create a simulation for an array of nodes and apply the desired forces. Then listen for tick events to render the nodes as they update in your preferred graphics system, such as Canvas or SVG.
See one of: