LED Alignment Patterns

LED alignment patterns allow to define how led strips and walls are aligned and positioned. Different alignment patterns are supported and can be used for all visualization devices which support LED strip output (e.g. SPI or artnet)


Orientation

With different parameters you can configure the orientation of your LED stripe alignment:

Configuration parameter Description Allowed Values
pattern Defines in which pattern the LED stripes are aligned. For Zigzag the LED stripes start in the left top corner. For ZigzagInverted the stripes start at the right top corner. zigzag, zigzag_inverted
orientation Defines the rotation (in ° degrees) of your LED stripe (clockwise) 0, 90, 180, 270
width Absolute width of the output (e.g. number of LEDs in a stripe). Based on 0 degrees orientation > 0
height Absolute height of the output (e.g. number of stripes). Based on 0 degrees orientation > 0

Example

// Example 1 (Pattern: Zigzag, Orientation: 0, Width: 5, Height: 5):

s-----
      |
 -----
|
 -----
      |
 -----
|
 -----e
// Example 2 (Pattern: Zigzag, Orientation: 90, Width: 5, Height: 5):

 -   -  s
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
e  -   -
// Example 3 (Pattern: ZigzagInverted, Orientation: 0, Width: 5, Height: 5):

 -----s
|
 -----
      |
 -----
|
 -----
      |
e-----
// Example 4 (Pattern: ZigzagInverted, Orientation: 0, Width: 3, Height: 5):

 ---s
|
 ---
    |
 ---
|
 ---
    |
e---
// Example 5 (Pattern: Zigzag, Orientation: 90, Width: 3, Height: 5):

 -   -  s
| | | | |
| | | | |
| | | | |
e  -   -