Used custom RenderMan nodes to create these shapes on cloth simulation.

For a further breakdown, click here.