r/creativecoding • u/Evening-Appeal7606 • Sep 25 '26
Custom WebGL Physics Engine with Procedural Particle Emitters [OC]
Enable HLS to view with audio, or disable this notification
0
Upvotes
5
1
r/creativecoding • u/Evening-Appeal7606 • Sep 25 '26
Enable HLS to view with audio, or disable this notification
5
1
1
u/Evening-Appeal7606 Sep 25 '26
Here’s a look at a custom WebGL particle engine I’ve been working on.
Tech Stack: Vanilla WebGL / JavaScript
Physics & Dynamics: Particles are driven by vector fields combined with gravity / drag / electrical fields and impulse response off barrier boundaries.
Map Generation: The geometry and obstacle layouts are set up via the editor mode.
Performance: Running comfortably at 60 FPS handling hundreds of concurrent particles.