add extension

add animation extension and examples.