Linden Killam
Features successfully attempted:
Cloth with two-directional force detection (and a midpoint integration function)
Collision detection of cloth with a sphere
User interaction, moving the obstacle sphere and selecting individual cloth nodes to move using a mouse click
Tearing, if the force gets too great
There is still a little instability in the simulation as of right now, sometimes trying to manipulate a node near the bottom causes all but the topmost nodes to disappear. There might be a problem in my node manipulation logic, other attempts to increase stability have not made a big difference. Lately, I see that the lines between nodes that are being manipulated are not perfect, that might be a fairly easy fix.
Sometimes nodes will hug the wall of the obstacle sphere, that's probably also a fairly easy fix.
First collision takes place at 0:04, then I navigate the sphere through the cloth to show collisions and the cloth moving around the sphere. (Originally I wanted the cloth to avoid the sphere entirely, but this net-like behavior is more interesting to me.)
First node manipulation beginning at 0:36.
First unambiguous tear at 1:05. Further manipulations and tears after that.
Our cloth is a little worse for wear at the end. Below, are some blooper reels (also in a playlist on YouTube.)
Having different tearing thresholds between horizontal and vertical forces yields interesting results.
I guess I will submit this picture for the art contest.
Link to the code. Now for the bloopers.