ほかにもこんなのあった
https://github.com/chrismarch/SoftBodySimulation