🌍 Public
Viewing a saved revision (read-only)
57445253b9b847e89622f1f9ed597d4b
Untitled
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 description