Code for realistic rope/cable simulation?

Anyone knows where do I can find an example or a tutorial of a realistic simulation of a rope tied between two points?

I clearly remember something like that, but for the love of me;) I cannot fint it again in the net.

I need to make something similar to the interface of Reason, the music app.

Thank you