A small helper tool for animating sprites.