Matricks

"Teach an old matrix new tricks..."

Matricks is a WASM-based extensible LED matrix control tool intended for use on Raspberry Pi devices. LED matrix functionality is defined by user-developed plugins, or "tricks", which can be developed in any language that is supported by the Extism PDK. On non-Raspberry Pi devices, Matricks will simulate a LED matrix and display the simulated matrix state in real time.

See usage details below:

``` Usage: matricks [OPTIONS] --plugins --width --height

Options: -p, --plugins Path to plugin or directory of plugins -x, --width Width of the matrix, in number of LEDs -y, --height Height of the matrix, in number of LEDs -f, --fps Target framerate at which to drive the matrix [default: 30] -l, --log-dir Directory to write logs [default: log] -s, --serpentine Data line alternates direction between columns or rows -m, --magnification Magnification of the simulated matrix [default: 10] -h, --help Print help -V, --version Print version ```

Installation

Matricks is installed using Cargo. In order to run a simulated matrix on non-Raspberry Pi machines, OpenCV and supported libraries must be installed before installing Matricks. See platform-specific instructions below.

Raspberry Pi

Windows

Ubuntu

Arch Linux

Mac

Note: for installation on Mac, you will likely also need a C++ compiler and libclang (brew install llvm).