Skip to content

Creating New Animations

Nicolás de Ory edited this page Mar 27, 2020 · 6 revisions

You can create LED animations via the visual editor. You can find usage instructions there.

It is important that you set the number of LEDs to 170. Let's keep it uniform for now, so all animations are adjusted for the same LED strip size.

When you are ready to export your animation, copy the animation text and paste it in a .txt file. Save the animation to Animations/CHAMPION_NAME/your_animation.txt. Give it a descriptive name, such as q_cast.txt.

Animation Format

If you wish to make your own animation designer or wish to change a file manually, it's useful to know the custom format.

The format is similar to a DMX color array. The first line indicates the following information:

  • LED count
  • Frame count

The following data is a byte array containing FRAME_COUNT * NUM_LEDS * 3 color channel bytes (RGB order, starting by LED 0). A two-frame animation for a 5 LED strip will look like this:

5,2
0,0,0,59,255,62,255,51,210,0,0,0,0,0,0,0,0,0,0,0,0,59,255,62,255,51,210,0,0,0

Clone this wiki locally