A setup similar to that is very simple, and can be done several ways.
Here's an example scene showing one particular way of setting it up - by distributing a spline as particles and converting it to binds with the Cloth Bind operator.
Here's an example scene showing one particular way of setting it up - by distributing a spline as particles and converting it to binds with the Cloth Bind operator.