NOTE: The current source code can now be found here. This GitHub repo is only left as an archive.
Squish is a Python library that handles simulations for the flow of 'soft' or 'compressible' objects, under some energy in a periodic domain. The gradient flow of the objects are simulated and is able to be saved and rendered into diagrams. Squish also provides simple to use scripts for basic usage, as well as a simple API for more advanced functionality.
Fast parallelized Cython code is used to compute the simulations efficienctly. Also, NumPy arrays are used, enabling easy integratation with the standard scientific Python ecosystem.
- Documentation: Examples, guides, and Squish API.
GitHub repository: View and download the Squish source code.Issue tracker: Report issues or request features for Squish.
The simplest way to install Squish is to use pip
:
(.venv) /path/to/squish: pip install squish
This project uses GNU AGPLv3.0.
See the note.
Feel free to visit our repository on GitHub for source code of this library. Any issues or bugs may be reported at the issue tracker. All contributions to Squish are welcome!