2017-12-28 10:29:50 +01:00
|
|
|
A small application to drive LED matrix dusplays, such as the pimoroni unicorn, from nodejs. Intends to become a digital graffiti/guestbook system.
|
2017-12-12 20:41:32 +01:00
|
|
|
|
2017-12-18 20:39:51 +01:00
|
|
|
Make sure you are on a recent nodejs version. Raspbian has old version. Use nodesource ;).
|
|
|
|
|
2017-12-25 21:05:14 +01:00
|
|
|
copy config.example.json to config.json and pick a driver + display size.
|
|
|
|
|
2017-12-12 20:41:32 +01:00
|
|
|
npm install
|
|
|
|
|
2017-12-25 21:05:14 +01:00
|
|
|
nodejs pixdisp.js
|
2017-12-12 20:41:32 +01:00
|
|
|
|
|
|
|
http://localhost:8080/
|
|
|
|
|
2017-12-28 10:29:50 +01:00
|
|
|
Matrix driver & Unicorn Hat HD driver inspired by https://github.com/vesteraas/node-unicornhathd
|
|
|
|
|
|
|
|
### Drawing
|
|
|
|
![Device drawing](https://raw.githubusercontent.com/sexybiggetje/pixdisp/screenshots/device.jpg "Drawing on the device")
|
2017-12-28 10:41:31 +01:00
|
|
|
|
2017-12-28 10:29:50 +01:00
|
|
|
Simple clicking on the canvas in the responsive webinterface makes things light up.
|
|
|
|
|
|
|
|
### Camera
|
|
|
|
![Using your camera](https://raw.githubusercontent.com/sexybiggetje/pixdisp/screenshots/camera.jpg "Using your camera")
|
2017-12-28 10:41:31 +01:00
|
|
|
|
|
|
|
The webinterface allows you to capture your camera and submit images from there.
|
|
|
|
|
|
|
|
### Webinterface
|
|
|
|
![Web interface](https://raw.githubusercontent.com/sexybiggetje/pixdisp/screenshots/webui.png "Webinterface")
|
|
|
|
|
|
|
|
A simple web interface is included for drawing on the device. Defaults to port 8080.
|