Foam Generator And Shader 1.0
add the object that will have the foam on it, and select the foam generator
and then go to the modifier panel and select the object
And then start adding foam to the surface of the object after clicking play animation from the timeline editor
And you can edit the material of the foam to edit the size of bubbles, amount and more!
Note :only supports Cycles currently