Monthly Archives: July 2016

Reproducing A Clever Animation Product, Part 23

Today I changed the form of specifying a tween effect. It was originally specified as a string (e.g., “linear” or “vibrate_right”) but now it is defined as an object literal. The first member field of the object has to be … Continue reading

Posted in Tools and methods | Tagged , , | Leave a comment

Reproducing A Clever Animation Product, Part 22

I want to make the handling of the mMethod parameter in the bcDefineWhateverTween function more flexible and modular. As you can see in the code below, the parsing of the different types of methods or applied effects has to be … Continue reading

Posted in Tools and methods | Tagged , , | Leave a comment

Reproducing A Clever Animation Product, Part 21

The last subject I wanted to explore was animation effects, which is to say defining tweens that proceed from beginning to end in a fashion that is other than linear, which is the default I’ve been using to this point. … Continue reading

Posted in Tools and methods | Tagged , , | Leave a comment

Reproducing A Clever Animation Product, Part 20

Today I added the capability of adding a rotation tween, which I applied to a fourth element at the end of the previous animation. The tween definition is here:

Here’s the code added to handle rotations in the addTransformToList … Continue reading

Posted in Tools and methods | Tagged , , | Leave a comment

Reproducing A Clever Animation Product, Part 19

Today I finally finished handling adjustments to the starting time of events in the animation, using the same syntax as the Greensock product I’ve been emulating. In order to do this cleanly I chose to build a separate list of … Continue reading

Posted in Tools and methods | Tagged , , | Leave a comment