Skip to content

FilipRuman/FluidSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluid Simulation

This project is a fluid simulation implemented in Rust using the Bevy game engine.

  • The simulation is based on the concepts presented in this video.
  • It achieves approximately 15 frames per second with 100,000 particles, performing 3 physics updates per frame (approximately 45 updates per second) in debug mode.
  • The simulation utilizes a maximum of 40-45% of CPU resources (Ryzen 7950X3D).

Key Bottlenecks:

  • Bevy's sprite rendering performance.
  • Suboptimal multi-threading within the core algorithm.
  • Inability to run the simulation in release mode.

Potential Improvements:

  • Profiling with the tracey profiling tool to identify performance hotspots.
  • Implementing custom mesh rendering for particles to bypass sprite rendering limitations.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages