01 Aug 2017

Inspired by Peter Beshai and Vladimir Agafonkin, I wanted to play with some WebGL particles. I read learningwebgl’s page about rendering to textures and also learned a lot from Vladimir’s blog post, Peter’s blog post, and Peter’s code. Here are 100,000 particles:

I was originally hoping to make some “wind” flows for procedural map generation. I don’t know what happened here, but it looked cool so I decided to leave it here. I’ll revisit wind later.

I’m using regl.js and Morgan McGuire’s glsl noise functions for this experiment. The code is here.