erematorg / LP

A systemic 2D platformer in a dynamic living ecosystem.
https://www.lifesprogress.com
GNU Affero General Public License v3.0
8 stars 8 forks source link

Implement Smoothed Particle Hydrodynamics (SPH) Solver for Fluid Dynamics Simulation #75

Open erematorg opened 3 months ago

erematorg commented 3 months ago

Problem Description

LP currently lacks an implementation of fluid dynamics using the Smoothed Particle Hydrodynamics (SPH) method. SPH is a computational method for simulating fluid flows, which is crucial for creating realistic fluid simulations in various scenarios such as water, smoke, or other fluid-like behaviors in the project. The absence of this feature limits the project's capability to simulate realistic fluid dynamics, which is an essential aspect of many interactive and visual applications.

Proposed Solution

Implement a Smoothed Particle Hydrodynamics (SPH) solver to simulate fluid dynamics within the project. The SPH solver should handle:

Alternatives Considered

Additional Context

The SPH implementation will be the first step toward integrating fluid dynamics into the project, laying the groundwork for future enhancements such as surface tension effects, multi-phase fluids, or coupling with rigid body dynamics. This feature will significantly enhance the visual fidelity and physical accuracy of the project.