here this is exactly what the link had when you opened it "I was kinda bored and playing the game hammer fight led me into wanting to make a physics-based 2d cloth/banner wtv.
well, id says that I succeeded. although the collisions need a bit of work because physics has no "point" based collision (feature request) the cloth just collides 6 pixels away from what it's actually hitting (it's a 13x13 circle)
the cap is made in 98.9 so I'm unsure how well it might work in newer versions. I bundled an exe just in case.
mouse controls the cloth "pin"
holding space shows the nodes and springs.
oh, yeah I went a Lil overboard trying to make it bloom-ish with layer effects so you might wanna take those out if it's slowing things down. I think it would look excellent for curtains blowing in from an open window during a sunburst afternoon, or a cape for some character, feel free to use it