Fluid Water Simulation 3

This is a new version of liquid simulation sandbox, in which you can create water, oil and foam, add pipes and sewers, draw walls and air emitters. A new Grid function is added for drawing straight lines. Maximum number of particles (drops) is 5000.
It is based on smoothed particle hydrodynamics (SPH) - Langrangian method of fluid simulation. This simulation is quite process-intense, sometimes it helps when you close other tabs in a browser.

New features:
- Added pipes and sewers for never-ending complex water system.
- Grid for straight lines.
- Max number of particles is now 5000.
- and... Ducks! You can play with 3 ducks :).

Here you can find more experiments.


Water - create water
Oil - create oil, lighter and higher viscosity than water
Foam - create foam, very light with high viscosity
P - Pipe - create water, oil or foam pipe
Sewer - create sewer, if you want to remove liquid
Mix - use for mixing liquids [alt. right mousebutton]
Remove - removes liquid, pipes, sewers, ducks

Wall - draw colission Walls
Delete W. - delete colission Walls

Air - draw Air Emitter (visible when edited)
Delete A. - delete Air Emitter (visible when edited)

Duck - add three yellow ducks

Grid - use Grid for drawing straight lines
[Particle Bar] - shows number of particles on scene
Del All Liquid - delete all liquid
Delete Scene - clear everything

Particle bar shows a number of particles on the scene. Maximum is 5000 and default framerate is 40fps. If the frame rate is lower than 30fps bar is greyed out.

Particle-based Visoelastic Fluid Simulation - this experiment is based on this paper, modified for multiple fluid collisions and optimized for realtime simulation.

Programmed in processing.

Copyright © 2008 - 2020 Peter Blaskovic | escape motions

comments powered by Disqus