Blog to follow eventually... There's also a cool way to do this with textures that I will create one day, but hopefully this gives you an idea of how to play around with particles in regl. Code is similar to my canvas example.
https://wzrd.in/standalone/regl@1.3.0
https://d3js.org/d3.v4.min.js