Tag Archives: javascript

Fluid Paint

David Li has a few interesting particle simulations on his website, and the most interesting is his paint simulator, which uses JavaScript and CSS to simulate paint applied by a brush.

I was not able to make anything good using my mouse, but the shading and texture of the paint is remarkably realistic in some places. It’s always fascinating when someone is able to do something in a web browser that would have been impressive as a desktop app just 10 years ago.

Source code available on GitHub