Creates foam clusters from a point cloud.
Can be used for a variety of effects like creating whitewater foam.
Implemented entirely using VEX. Shows a couple tricks like pre-generating points to achieve max performance as creating points in VEX is a sequential operation.
https://www.dropbox.com/s/9v4li0cgmr4l9y9/ClusterFoam_SOP_Animatrix.otl?dl=1
https://www.dropbox.com/s/cdnld3bse4o5l24/clusterfoam.hip?dl=1