Untitled
✓ Published26🌍 Public
This example shows an interactive particle system that responds to mouse movement, with particles drifting and congregating around the cursor's position. Built with D3.js, it uses `d3.forceSimulation` with forces like `d3.forceX` and `d3.forceY` to steer particles toward the pointer, while `d3.forceCollide` keeps them from overlapping. The visualization renders on an HTML5 Canvas via the Canvas 2D API, with particle positions updated each frame from the simulation’s tick events. The README notes the code is authored by louatgithub and uses a simple color palette based on particle speed.
AI-generated descriptionMIT Licensed