Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuki-koyama/position-based-fluids
Position Based Fluids [SIGGRAPH 2013] in C++
https://github.com/yuki-koyama/position-based-fluids
fluid physics
Last synced: 3 months ago
JSON representation
Position Based Fluids [SIGGRAPH 2013] in C++
- Host: GitHub
- URL: https://github.com/yuki-koyama/position-based-fluids
- Owner: yuki-koyama
- License: mit
- Created: 2022-05-03T08:13:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-22T17:03:41.000Z (over 2 years ago)
- Last Synced: 2024-10-13T01:27:47.962Z (3 months ago)
- Topics: fluid, physics
- Language: C++
- Homepage:
- Size: 17.8 MB
- Stars: 133
- Watchers: 5
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# position-based-fluids
[![macOS](https://github.com/yuki-koyama/position-based-fluids/actions/workflows/macos.yml/badge.svg)](https://github.com/yuki-koyama/position-based-fluids/actions/workflows/macos.yml)
An implementation of Position Based Fluids [Macklin+, SIGGRAPH 2013] in C++.
![](./docs/sample-1.gif)
![](./docs/sample-2.gif)## Dependencies
- [alembic](https://github.com/alembic/alembic) (included as a git submodule)
- [Eigen](https://eigen.tuxfamily.org/)
- [parallel-util](https://github.com/yuki-koyama/parallel-util) (included as a git submodule)
- [timer](https://github.com/yuki-koyama/timer) (included as a git submodule)## Prerequisites
macOS:
```sh
brew install cmake eigen imath
```Other environments (e.g., Ubuntu, Windows) are not tested.
## Implementation Details
Supported:
- Incompressibility constraint
- Artificial surface tension
- XSPH viscosity
- Hash-grid neighbor search
- Parallelization based on multi-threading
- Alembic exportNot supported:
- Vorticity confinement
- GPU computing
- Surface reconstruction
- Rendering## License
MIT License