Animation loop utility lib.