3 ms·
That's a funny coincidence, I recently made something similar: https://webgl-particle-life.netlify.app/ https://webgl-particle-life.netlify.app/ (source: https:
by ath92 3y ago
That's a funny coincidence, I recently made something similar: https://webgl-particle-life.netlify.app/ https://webgl-particle-life.netlify.app/ (source: https://github.com/ath92/particle-life https://github.com/ath92/particle-life)
This version does everything in webgl shaders and keeps all state for the simulation in textures / uniforms. This allows it to simulate and draw more particles. Unfortunately it may not run on all devices because it uses some less supported webgl extensions.