2D Fluid Simulator in Godot
A 2D Fluid Simulator made in Godot 3.4.4, running on the GPU through Godot’s shader language. It attempts to solve the Navier-Stokes equation in real time by taking advantage of the parallelism of GPU’s.
For further details, check out this post: https://godotforums.org/discussion/29164/2d-fluid-simulation/
Please share your feedback and suggestions. I’m especially hopeful there are still improvements to be made to the technical side of the simulation.
Github: https://github.com/Maaack/2D-Fluid-Simulation
Reference Material:
https://developer.download.nvidia.com/books/HTML/gpugems/gpugems_ch38.html
https://www.ixm-ibrahim.com/explanations/2d-fluid-simulation
https://hal.inria.fr/inria-00596050/document
https://github.com/PavelDoGreat/WebGL-Fluid-Simulation
https://github.com/haxiomic/GPU-Fluid-Experiments
https://github.com/mharrys/fluids-2d
Download
Development log
- Public Release: v 1.0.0Jun 26, 2022
Comments
Log in with itch.io to leave a comment.
This is so cool, i wish i knew how to code this into a fog system 😁