Skip to content

matesplace/lightcanvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

License

MIT

About

A Node.js library for streaming a HTML Canvas drawing to devices using the E1.31 (sACN) protocol.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published