Hi,
It's gonna be hard to use this code directly in unity. But it shouldn't be too hard to convert the code to another language, the source is available if you want to give that a shot.
I don't think the animation thing would work well, right now individual parts can have very different cycles, so before a full loop is done the animation can be very long. However I could make an update to export every part as an individual layer so you can animate the moving yourself.
Let me know if that works for you.