Interface LEDAnimation

All Known Implementing Classes:
SimpleLEDAnimation

public interface LEDAnimation
Interface for LEDAnimation sequences, which can pre-generated or made at runtime by implementing classes.
  • Method Details

    • numberOfPixelsPerFrame

      int numberOfPixelsPerFrame()
      Returns the number of pixels per each frame.
      Returns:
      The expected number of pixels contained by every frame.
    • getNextFrame

      LEDAnimationFrame getNextFrame()
      Returns the current frame of the LEDAnimation.
      Returns:
      The LEDAnimation to display.