Skip to content

Latest commit

 

History

82 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

To experiment with different techniques for real-time fluid simulation and rendering in Rust/WGSL/Bevy by making a beautiful realistic lake drawing toy.

Overview

Fluid simulation is done with a particle-based approach called Smoothed Particle Hydrodynamics (SPH). Code is heavily based off of https://github.com/SebLague/Fluid-Sim

2D mode can be enabled in the left menu but development is focused on 3D. When 2D is enabled, GPU acceleration should be disabled, otherwise the particles will overlap due to a bug (low priority bug).

3D fluid rendering can be toggled between 2 separate pipelines. Development focus is on screen space rendering to balance realism with performance, but raymarching (more realistic) is also implemented.

To run demo:

cargo run --release

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages