Sprite extraction and animation