ProFluid is a fluid simulation project that models the behavior of particles in a fluid environment.
- Java Development Kit (JDK)
- Clone the repository:
git clone https://github.com/KillCroop2/ProFluid.git
- Navigate to the project directory:
cd ProFluid
- Compile and run the simulation:
javac src/*.java
java -cp src FluidSimulation
FluidSimulation.java
: Contains the main fluid simulation logic.Particle.java
: Defines the properties and behaviors of individual particles used in the simulation.
- Left Mouse Button: Add fluid to the simulation.
- Right Mouse Button: Drag fluid around the simulation.
Feel free to fork the project, make changes, and submit a pull request. All contributions are welcome!
This project is open-source and available under the MIT License.