Installation
Matricks is intended only to be run on Raspberry Pi devices, and can be installed using Cargo after installing a few dependencies. To run plugins on non-Raspberry Pi devices, check out Simtricks.
Installation on Raspberry Pi
- Install 64-bit Raspbian1 on your Raspberry Pi2
- Install Rust and Cargo from the Rust website
- Run
apt install libclang-dev libssl-dev
- Install and configure the rpi_ws281x library.
- Run
cargo install matricks
Cross-compilation for Raspberry Pi
- On another device,
- Install Rust and Cargo from the Rust website
- Run
rustup target add aarch64-unknown-linux-musl
- Run
cargo install cross
- Clone this repository and build with
cross build --release --target aarch64-unknown-linux-musl
- Transfer the produced executable to your Raspberry Pi
- On your Raspberry Pi,
- Install 64-bit Raspbian1
- Install and configure the rpi_ws281x library.
- Run the executable
Use a pre-compiled binary
For convenience, pre-compiled binaries are available in the releases tab.
- Run
apt install libclang-dev libssl-dev
- Install and configure the rpi_ws281x library.
Then, you may run the following command to download and run Matricks:
MATRICKS_VERSION=0.3.0 && \
wget https://github.com/wymcg/matricks/releases/download/v$MATRICKS_VERSION/matricks_$MATRICKS_VERSION && \
chmod +x matricks_$MATRICKS_VERSION && \
./matricks_$MATRICKS_VERSION