/webgl-regl-fluid-base

Regl base for webgl fluid simulations

Primary LanguageJavaScriptOtherNOASSERTION

Fluid simulation base

This is a base for fluid simulations built using the amazing (really, try it!) declarative webgl helper api regl.

Only velocity field helpers and advection functionality is implemented, but since I really like the look and feel of this almost-but-not-quite-a-fluid effect I will probably build upon this base when creating various color soups and more realistic fluid stuff :)

Based heavily on Jamie Wong's article (see further resources below).

Example Example2

By Jakob Stasilowicz - kontakt [at] stasilo.se

Building & running

$ npm install
$ gulp webserver

Further resources