r/GraphicsProgramming • • 31m ago

Fluids simulation in my 2D engine

Finally happy with how the fog is handled in the game I've been working on, it's built with Rust and wgpu. The fluids use a 2D stable fluids solver in WGSL based on the paper from Jos Stam. Would love to hear what you think :)

9 Upvotes

6 comments sorted by

•

u/AutoModerator 31m ago

Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:

  • No showcases.
  • Disclose AI usage in post or project.
  • Present a topic to talk about, e.g. how something works.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/ykafia 28m ago

It's Jos Stam :)

But looks nice

1

u/pontusnm 26m ago

Oops that's my bad haha, edited. Thanks!

2

u/Striking-Start-1464 20m ago

Inspired by Animal Well? I absolutely loved that game.

1

u/pontusnm 16m ago

Yes! Animal Well is a huge inspiration & was the deciding factor of me making my own engine instead of using something like Godot, love that game so want to make something in the same spirit

1

u/Striking-Start-1464 15m ago

You can use Rust with Godot; the GDextension they created is quite stable and very easy to use.