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 function. The only interesting bit is ensuring the default starting value is properly initialized.

Here are the initializations for the elements and animations.

The animation works as expected.

This entry was posted in Tools and methods and tagged , , . Bookmark the permalink.

Leave a Reply