Custom pattern Animations - project-alice-assistant/HermesLedControl GitHub Wiki

Available since 1.5, animations are handy helpers for people not into coding but still wanting their own customized pattern.

In a pattern file you can call self._animator and see what premade animations it has. These animations are customizable in speed, color, background etc etc

  • doubleSidedFilling: Fills the strip from both side
    • startAt: The pixel index from which the animation should start
    • color: An rgbw array for the color that will fill up the strip
    • direction: 1 or -1 for the direction it should start. Inverted will make your animation start at the opposite pixel from startAt
    • speed: In pixels per second, how fast the strip will fill
  • breath:
  • waitWheel
  • doublePingPong
  • relayRace
  • rotate
  • rotateImage
  • blink

More to come over time

For an overview how to easily use them, check the 'projectalice' led pattern file, it uses only pre made animations