Add keyframe support and example