I'm looking for a way to define a Bone animation system, I need a basic one, since my goal is to use it for reverse kinematics, as well as Flash support.
A desirable feature is that: I can set the bones (as a position in 2D defined by 2 points), each of which has an identifier. Therefore, I can make animation based on frames, i.e.
['l_leg', [10, 0],[ 13,30 ] ] ['r_leg', [30, 0 ], [13, 30] ]
['l_leg', [10, 0],[ 13,30 ] ] ['r_leg', [35, 30], [13, 30] ]
...
I am sure that the definition of joints is not required.
lib can be lib in Ruby, since I can port it to JS, but if it is better in JS :)
source
share