Fluid Simulation in Flutter

This project demonstrates how to implement a fluid simulation using Box2D and Flame in Flutter.

Screenshots

Fluid Simulation Fluid Simulation

Features

  • Real-time fluid simulation using Box2D
  • Fluid particles interact with each other and the screen boundaries
  • Customizable fluid parameters such as particle mass, rest density, viscosity, stiffness, and damping

Getting Started

To run this project, you will need the Flutter development environment. Follow the instructions on the official Flutter website to set this up.

1. Once you have the Flutter development environment set up, clone this repository by running:

git clone https://github.com/Jao-br/flutter-fluid-simulation.git

2. Navigate to the project directory and run the following command to install the required dependencies:

flutter pub get

3. Finally, run the app on your preferred device by executing:

flutter run

Contributing

Contributions are welcome! If you have any ideas or issues, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.