How to make dynamic water with foam

Take a look at this