Renderer a lot of particles using webgl shader to update particles position and velocity and track the mouse cursor.
Demo.
No click the particles will follow the cursor.
Left-click the particles will flee from cursor.
Right-click the particles will keep current heading.