I need a 2D JavaScript engine

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] ] //Frame 1 (standing)
['l_leg', [10, 0],[ 13,30 ] ] ['r_leg', [35, 30], [13, 30] ] //Frame 2 (lifting right leg)
...

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 :)

+3
source share
2 answers

UPDATE: Deprecated over time.

: http://github.com/flockonus/javascriptinmotion

+1

: -.

1- Google: javascript skeletal.

0

Source: https://habr.com/ru/post/1748371/


All Articles