This is a video that was developed with a updated version of the program which was used in previous video. Link below:
• Fluid Simulation with SPH 4k particles.
This is a visualization of the simulation of water on a container using the Smoothed Particle Hydrodynamics principle. I'm just learning the simulations, so I don't understand the math in such a degree so this is mostly copy-pasted code to see and understand the methodology.
The code to calculate the positions are from.
https://www.cs.cornell.edu/~bindel/cl...
The codes for the simulation and visualization are in my github (I'll clean the code and write a better README later.):
https://github.com/Atreyagaurav/fluid...