lightcanvas
v0.0.2
Published
A light canvas
Downloads
5
Readme
lightcanvas
A Node.js library for streaming a HTML Canvas drawing to devices using the E1.31 (sACN) protocol.
Installation
npm install lightcanvas
Example Usage
var LightCanvas = require('lightcanvas');
var canvas = new LightCanvas(width, height, hostname);
var ctx = canvas.getContext('2d');
ctx.fillStyle = '#ff0000';
ctx.fillRect(0, 0, width, height);
canvas.update();