https://github.com/catlinman/love2dfluid
Fluid dynamics system for LÖVE2D
https://github.com/catlinman/love2dfluid
fluid fluid-framework library love2d lua
Last synced: 9 days ago
JSON representation
Fluid dynamics system for LÖVE2D
- Host: GitHub
- URL: https://github.com/catlinman/love2dfluid
- Owner: catlinman
- License: mit
- Created: 2014-05-22T16:23:55.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-01-03T12:06:43.000Z (about 2 years ago)
- Last Synced: 2026-01-15T05:44:22.348Z (16 days ago)
- Topics: fluid, fluid-framework, library, love2d, lua
- Language: Lua
- Homepage:
- Size: 45.9 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LÖVE 2D Fluid #
love2dfluid is a real time fluid simulation framework for [LÖVE2D](http://love2d.org/)

## About ##
The fluid system in this repository was originally created as a self decided school project. The main idea is to allow easy fluid particle integration in two-dimensional environments for the LÖVE2D framework while still maintaining a steady performance for normal game related processing. The repository is still work in progress meaning that all of the current developments are subject to change.
## Implementation ##
To add the fluid framework to your LÖVE2D project all you have to do is to insert the `fluidsystem.lua` file into your love-project's root folder. From there you will have to add `require("fluidsystem")` to the start of your main.lua file. Creating new fluid systems is quite simple. The module allows developers to easily create new systems by calling `fluidsystem.new(parameters)`. The function takes in a table containing named variables which will be assigned to the newly created system. The system is then returned as a reference and can then be directly manipulated. There are also a set of other functions that can be used to more closely manage the entire fluid system.
For more information on these please refer to [FUNCTIONS.md](https://github.com/catlinman/lovefluid/blob/master/FUNCTIONS.md). For a list of variables that can be passed when creating a new system have a look at [PARAMETERS.md](https://github.com/catlinman/lovefluid/blob/master/PARAMETERS.md).
## License ##
This repository is released under the MIT license. For more information please refer to [LICENSE](https://github.com/catlinman/lovefluid/blob/master/LICENSE)