How to write an Animation class for BiblioPixelΒΆ