Text this: Dynamic cloth simulation with fast self-collision detection