A desktop application with a particle fluid simulation where the user interacts with the fluid by moving and resizing the application window.
Find a file
2026-10-22 11:24:07 +00:00
assets try new video 2026-10-20 13:38:09 +02:00
Panels Fix checkstyle violations 2026-10-22 13:14:01 +02:00
PhysicsEngine Fix checkstyle violations 2026-10-22 13:14:01 +02:00
Utils Merge branch 'CheckstyleFixes' of https://projects.tetkic.com/Education/FluidSimulation into CheckstyleFixes 2026-10-22 13:15:24 +02:00
.gitignore Initial commit 2026-10-01 08:55:42 +00:00
App.java Fix checkstyle violations 2026-10-22 13:14:01 +02:00
README.md add readme os disclaimer 2026-10-22 12:43:16 +02:00

FluidSimulation


A desktop application with a particle fluid simulation where the user interacts with the fluid by moving and resizing the application window.

How to use:

  1. Launch the app.
  2. Click and hold on the window to spawn particles. You can control the number of particles spawned by scrolling. (Works best with mouse.)
  3. At the top right you see a control panel. It has:
    • A reset button. Clicking it once will make the fluid flow out of the window. Clicking it twice will make the fluid disappear immediately.
    • A slider for particle size.
    • A slider for viscosity.
    • A 'stop' button, which will leave the particles on the screen, but pause the simulation.

Limitiations

The application will only work on the primary screen device; When a lot of fluid is stacked, so the depth is high, the fluid may become unstable in deeper regions; Fluid can be compressed further than its volume/area.

Disclaimer

This project was developed and tested on Windows. We cannot guarantee it will work on operating systems different from Windows.