Implement sample for animation resource