Something that looks like “real” swinging is much harder to code. Because the “rope” is approximated as a sequence of linked springs, I found it too difficult to get natural swinging motion AND have something anywhere near stable.
I could play around with the numbers and improve things I’m sure, but it takes more time than I can spare to get it “right”. Heck I don’t even have a decent screen shot or web page