This is a simple little particle system simulation with 200 000 individually simulated particles. Use the mouse cursor to interact with the particles. You can pause and unpause the simulation with p and reset the particles by pressing r.
I also tried to blur the particles to get a plasma-like look, with mediocre results. I left the blur in as an option though; you can change the blur amount with the number keys 0 through 9.
The simulation is run on the GPU using WebGL 2 and transform feedback. To help manage WebGL I also used PicoGL, which is a great library that you should check out!
So there you have it! It's not very complicated but it's a fun little thing. If you like this project please share it:
If you want to see and hear more from me, follow me on Twitter and GitHub: