Start to support animation

working version.

Closes #57.