Hello my name is EvilAsuratosafter allot of trying to make a good ocean i gave up i thought that Fluid simulation is the best way well it worked well but i am trying to make it with foams so it look better

i saw some vids where there is a fluid that interacts with objects and foam and spray appears
how can i make like this

i tried to use dynamic paint but it didnt work for me

pls help me

and thanks