Waterfall

This project is a WebGL 2 simulation of a waterfall running entirely on GPU. You can interact with the fluid with the mouse, and add obstacles with the left mouse button.

It is essentially a particle system, with the particles independently falling and bouncing off obstacles. The cartoonish look is achieved by applying a blur and then a threshold to the particles.

WebGL 1 version

More on GitHub

Particles


Obstacles


Rendering


fps:
particles: