sample for keyframe animations using from and to