code: def increment_frame(self):
          
          self.current_frame += 1
  
          if self.current_frame >= self.end_frame:
              # Wrap back to the beginning of the animation.
              self.current_frame = 0
docs: Increment a frame of the animation.