Image source: Screenshot from https://codepen.io/fractalkitty/pen/VwMBqOd
P5.js
Unity:
The Mathematics of Catenary - Alan Zucconi
Implementing Catenaries for Games - Alan Zucconi
https://twitter.com/t3ssel8r/status/1470039981502922752?s=20&t=EGx8yi9dGpxTlUqDiGmHBg
JS/Matter.js:
5.20: Matter.js: Constraints - The Nature of Code
Unreal Engine:
How To Create A Coiled Cable Shader In UE4