Skip to main content
100%

Gist 1458002

✓ Published0🌍 Public
Aabernier
Last edited Dec 11, 2011
Created on Dec 11, 2011

This visualization shows a chaotic swarm of small particles moving across a dark canvas, with their positions and velocities computed through a force-directed simulation. The particles appear to be influenced by repulsive and attractive forces, creating organic, flowing clusters that shift over time. The code uses D3.js’s `d3.forceSimulation` to manage the particle physics, and renders each point as a colored circle via SVG, with the simulation loop updating positions each frame. The data is generated procedurally—no external dataset is loaded—and the example is written in CoffeeScript, though it relies on standard D3 v4 API calls for force layout and rendering.

AI-generated description

Similar vizzes