Tiny Water Lab is a small sandbox for playing with real-time particle-based water. You can spawn water, place platforms, redirect the flow, and see how the simulation reacts as the particles splash, settle, and collide.

Performance Note

Tiny Water Lab uses real-time WebGL rendering and runs best with browser hardware acceleration enabled. If the game runs very slowly, check that hardware acceleration is turned on in your browser settings.

Controls

Move camera: WASD
Zoom: Mouse Wheel, -, or =
Cycle tool options: Q / E
Use selected tool: Left Click
Delete hovered object: Right Click

In-Game Tools

The bars above the tools show how much water or platform capacity you have left. As you spawn water or place objects, the bars go down.

From top to bottom:

Water — spawn water
Platform — place a static platform
Spinner — place a rotating platform
Shooter — place a water shooter
Drain — place a water drain

Tech

Tiny Water Lab uses a 2D particle-based fluid simulation inspired by Macklin and Müller’s Position Based Fluids paper. Each frame, particles predict where they will move, find nearby neighbors, solve density constraints, and update their velocities based on the corrected positions. The result is a small real-time water simulation that can splash, settle, collide, and respond to objects in the scene.



Planned Improvements!

There is still a lot of low-hanging performance work left to do. The particle-to-platform collision queries are especially slow right now, so that is one area I’d like to improve next.


Published 2 days ago
StatusPrototype
PlatformsHTML5
AuthorJun
GenreSimulation
Made withUnity
Tags2D, Physics, Sandbox, tech-demo, Unity, water
ContentNo generative AI was used

Leave a comment

Log in with itch.io to leave a comment.