narioinc / node-rgb-matrix

A nodejs express server to control RGB Matrix based on HUB75 connector using JS Canvas APIs. Advanced Layers and Animation support available OOB
Apache License 2.0
5 stars 1 forks source link
canvas canvas2d gsap gsap-animation hub75 hub75e javascript konva led nodejs raspberry-pi raspi3 rgb rgb-led rgb-matrix rpi3 tween typescript

alt text

node-rgb-matrix

A nodejs express server to control RGB Matrix based on HUB75 connector

The project uses the excellent library by Alex Eden here: https://github.com/alexeden/rpi-led-matrix with a MAJOR addition.

I have found a way to easily use the JS Canvas APIs to write clamped arrays to the matrix. By exporting canvas to clamped arrays and then writing the array to the matrix, we now HAVE THE FULL POWER OF THE JS CANVAS APIS at our disposale.

Whats new !!

Dependencies

Before running the node installation, please ensure the following packages are installed (this is on any debian system, for your package manager, please adjust the command accordingly

sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

Run the demo

Note for Rpi Zero 2W users

REST APIs

The express routes are evolving and currently we have the following endpoints

TBD