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

StatusPrototype
CategoryTool
PlatformsHTML5, Windows, macOS, Linux
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
AuthorMaaack
GenreSimulation
TagsGodot, Physics

Download

Download
2D-Fluid-Simulator-Linux.tar.xz 11 MB
Download
2D-Fluid-Simulator-Win64.zip 15 MB
Download
2D-Fluid-Simulator-MacOSX.zip 29 MB

Development log

Comments

Log in with itch.io to leave a comment.

(+1)

This is so cool, i wish i knew how to code this into a fog system 😁

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy