{"repo":"narasan49/bevy_eulerian_fluid","free":true,"listed":false,"github":"https://github.com/narasan49/bevy_eulerian_fluid","clone":"git clone https://github.com/narasan49/bevy_eulerian_fluid.git","description":null,"language":"Rust","stars":28,"topics":["bevy","fluid-simulation"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"bevy eulerian fluid GPU-accelerated 2D fluid simulation plugin for Bevy with real-time performance and good mass conservation Try it on here! Basic Usage 1. Add FluidPlugin and PhysicsPlugins to the app with the same length unit. 2. Spawn FluidSettings with FluidSource as a child component. 3. FluidSimulationBundle will be inserted automatically to the entity. By querying components FluidTextures , the simulation results can be retrieved. Here is a short example. See examples for the detailed implementation! Interact to the fluid The simulation entity has LocalForces component, which holds arrays of forces (in m/s^2) and position (in pixels). forces can be applied to the simulation domain by setting LocalForces . See also an example for the detailed implementation. Features - [x] Incompressible 2D fluid simulation - GPU Red-Black Gauss-Seidel pressure solve - [x] Fluid surface - Level Set interface tracking - [x] Area-fraction based fluid-rigid body two-way coupling - Various shape support: Circle, Rectangle, Capsule, Triangle - [ ] Fluid source/drain - [ ] Viscosity Examples There are some examples to demonstrate how to visualize and interact with the simulation results: - Fluid-Solid two-way interaction - Imposing forces with mouse and touch input Versions Bevy Bevy Eulerian Fluid --- --- 0.18 0.4 0.17 0.2, 0.3 0.15 0.1 References This simulation is inspired by and based on the algorithms described in these books, papers and source codes: - Fluid Simulation for Computer Gra","default_branch":null,"files":null,"tree":[],"storefront":"/r/narasan49","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/narasan49/bevy_eulerian_fluid/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}