Template Based 2D Animation