Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A straightforward GPU implementation of Jos Stam's "Stable Fluids" on Unity.

License

Notifications You must be signed in to change notification settings

keijiro/StableFluids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

64 Commits

Repository files navigation

StableFluids

This project is a straightforward GPU-based implementation of Jos Stam's Stable Fluids in Unity.

WebGL Demo

System Requirements

  • Unity 6

Project Structure

While this project uses URP, the following modules depend only on the Core Render Pipeline shader library, making them compatible with any render pipeline (Built-in/Universal/High-Definition).

Assets/StableFluids

Contains Jos Stam's Stable Fluids implementation. Access the velocity field texture via FluidSimulation.VelocityField for rendering or to apply external forces.

Assets/Marbling

Contains components for the marbling demo, which advects colors based on the velocity field.

References

About

A straightforward GPU implementation of Jos Stam's "Stable Fluids" on Unity.

Topics

Resources

Readme

License

Unlicense license

Stars

Watchers

Forks