This is great! I would be interested in seeing the code if you plan on releasing it someday. Maybe that would make a good Unity plugin actually.