1
0
Fork 0
mirror of https://github.com/sexybiggetje/pixdisp.git synced 2024-11-21 19:31:02 +01:00
Little application to drive Led matrix displays on your raspberry pi
Find a file
2018-01-04 02:36:13 +01:00
controllers Dynamically load display size from the driver to the canvas on app init 2017-12-25 21:05:14 +01:00
drivers Add primitives drawLine, drawRect, drawRectFilled, drawCircle 2018-01-04 02:36:13 +01:00
www Add basic camera support to UI. Fun times. 2017-12-28 01:56:22 +01:00
.gitignore Working implementation of drivers, and drawing application. Things light up! 2017-12-18 20:39:51 +01:00
config.example.json Working implementation of drivers, and drawing application. Things light up! 2017-12-18 20:39:51 +01:00
CONTRIBUTING.md CONTRIBUTING.md: add content 2018-01-03 19:11:06 -06:00
LICENSE.md First work in progress app 2017-12-12 20:41:32 +01:00
package-lock.json First work in progress app 2017-12-12 20:41:32 +01:00
package.json First work in progress app 2017-12-12 20:41:32 +01:00
pixdisp.js Working implementation of drivers, and drawing application. Things light up! 2017-12-18 20:39:51 +01:00
README.md README.md: spelling, grammar and format suggestions 2018-01-03 18:59:19 -06:00

A small application to drive LED matrix displays, such as the pimoroni unicorn, from nodejs. My intention is to create a digital graffiti/guestbook system.

Make sure you are on a recent nodejs version. Raspbian has an old version. Use nodesource ;).

Copy config.example.json to config.json and pick a driver + display size.

execute:

npm install
nodejs pixdisp.js

Navigate to http://localhost:8080/

Matrix driver & Unicorn Hat HD driver inspired by https://github.com/vesteraas/node-unicornhathd

Drawing

Device drawing

Simple clicking on the canvas in the responsive webinterface makes things light up.

Camera

Using your camera

The webinterface allows you to capture your camera and submit images from there.

Webinterface

Web interface

A simple web interface is included for drawing on the device. Defaults to port 8080.