0.0.2 • Published 5 years ago

lightcanvas v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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();
0.0.2

5 years ago

0.0.1

5 years ago