this program is pretty cool, but the code is a bit messy, must remake soon!

https://www.youtube.com/watch?v=H1v7v4XHssA Every agent moves across the grid at a constant speed, and leaves a trail behind, which diffuses and fades over time. Each agent has two "sensors", which it uses to follow the trails left by the other agents. 100000 agents on a 4096x4096 grid running in real time, about 25ms/frame! Running using a GLSL compute shader on an Nvidia Quadro P5000