https://editor.p5js.org/abe/sketches/H8K7bY5s
Here something done very quickly and without much thinking I hope the code is not too bad. I’m curious about performance on mobile, as for-loops are not recommended in shaders. For each pixel in the screen it checks the distance to all particles to calculate brightness. The brute force approach.