Wrote a Fluid simulator using the SPS system.
This fluid system responds to the Orientation of any Smartphone so try tilting or shaking your mobile device while running the live demo:
Live Link: https://www.hiteshsahu.com/FluidSimulation
Controls are pretty simple
- You can Play/pause/ Restart & change the Speed of Simulation.
- You can play with fluid properties like Interaction distance, Density, and Viscoelasticity of fluid.
- You can also play with Gravity along the X and Y-axis.
- Last but not least you can change the appearance of fluids eg color, glow, alpha, etc.