lightcanvas
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i lightcanvas

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

9.17 kB

Total Files

9

Last publish

Collaborators

  • samelhusseini