A frame-based animation framework