Skip to content

loicmagne/webgl2_fluidsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of the Stable Fluid algorithm, using webgl2 features (texelFetch, textureSize, vertex array objects) in about 500 lines of codes, and compressed to less than ~5kb of javascript.

References

GPU Gems: https://developer.nvidia.com/gpugems/gpugems/part-vi-beyond-triangles/chapter-38-fast-fluid-dynamics-simulation-gpu
Stable Fluids paper: https://www.ljll.math.upmc.fr/~frey/cours/references/Stam%20J.,%20Stable%20fluids.pdf
WebGL1 implementation: https://github.com/PavelDoGreat/WebGL-Fluid-Simulation

About

Stable-Fluids implemented in WebGL2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published