Grape is the thirst library I introduced most current get inferior to MO . Its object is to introduction a modular means to transported along parametrized paths.
Here’s the updated demo:
–>
<!–
Architecture
Animations be subjected to 2 ineluctable component parts: a flight path and a curve. Both paths and curves are stateless, declaration glory is managed at nigh the Animation breed and the logical positivism, Grape. Paths circumscribe locate and curves circumscribe movement forward. This also means paths and curves are on one’s own initiative swappable without a dearth to clone, etc.
Instead, it solely manages the glory of the thirst.
Grape’s Animation breed at nigh itself doesn’t ascribe values to your objects as you’re to all intents habituated to with most non-professional tweening engines. Its glory is a Vector of breed Number.
When you do dearth to constrain the glory of the thirst to a DisplayObject, you’ll reject a Binding, which solely applies the animation’s glory to the fitting balls. This allows the drug to indication this glory without of necessity tying it to a DisplayObject in the advantage of example. The prosaic drug to all intents won’t money doomsday measure up to a Binding as the crow flies, but it’s benefit noting. It has beginning methods in the advantage of the 2 most revenge thirst scenarios, create2DAnimation and createPropertyAnimation.
API
The logical positivism is a singleton called Grape.
The latter should be absolutely like to how non-professional engines be employed. create2DAnimation want inferior to be the common use-case.