diff --git a/pybricks/_common.py b/pybricks/_common.py index ce4e9fd..5b18751 100644 --- a/pybricks/_common.py +++ b/pybricks/_common.py @@ -523,6 +523,20 @@ class LightGrid: """ pass + def animate(self, matrices, interval): + """Shows an animation of images in the same format as :meth:`.image`, + with a given interval between images. + + This method is non-blocking: the animation runs in the background while + the rest of your program keeps running. After all images have been + displayed, the animation repeats. + + Arguments: + matrix (list): List of Matrix of intensities. + interval (:ref:`time`): Time to display each image. + """ + pass + def pixel(self, row, column, brightness): """Turns on one pixel at the specified brightness.