This is my implementation of the method for mesh deformation as desribed in Linear Rotation-Invariant Coordinates for Meshes by Yaron Lipman, Olga Sorkine, David Levin, and Daniel Cohen-Or. I am using JAMA linear algebra package, which does not have a sparse linear system solver. This limits the models to contain no more than a couple of dozen vertices. The code, however, is easily adaptable to use any sparse linear solver, and I will make the change as soon as I get TAUCS to compile on my system.
Code:
mesh.tgz
Before:
After: